Add or remove hostnames for a property's hostname bucketCopy Pagepatch https://{hostname}/papi/v1/properties/{propertyId}/hostnamesPath ParamspropertyIdstringrequiredQuery ParamscontractIdstringgroupIdstringaccountSwitchKeystringBody Paramsaddarray of objectsaddADD objectnetworkenumrequiredSTAGINGPRODUCTIONAllowed:STAGINGPRODUCTIONnotestringnotifyEmailsarray of stringslength ≥ 1notifyEmailsADD stringremovearray of stringsremoveADD stringHeadersPAPI-Use-PrefixesstringenumrequiredtruefalseAllowed:truefalseacceptstringenumDefaults to application/jsonapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 201The response lists hostnames added or removed from the property. 400Bad request. 401Unauthorized. 403Forbidden. 404Not found. 405Method not allowed. 406Not acceptable. 409Conflict. 413Request entity too large. 415Unsupported media type. 422Unprocessable content. 429Too many requests. 500Internal server error.Updated about 2 months ago