Add or remove hostnames for a property's hostname bucket

For a property with useHostnameBucket set to true when created, this operation adds or removes up to 1000 property hostnames without incrementing the property version. Changes automatically activate on the selected network. If a property doesn't have hostname buckets enabled, this operation returns a 403 error. If another activation is in progress, whether it's a hostname activation or a property version activation, the operation fails with a 409 error. Once you perform this operation, it blocks subsequent requests until all the property hostnames are active. Note that to build the request body, you need to first obtain the edgeHostnameId either from an existing edge hostname or a new one you create by running the Create a new edge hostname operation.

If your account is enabled for mandatory domain validation, you need to prove ownership of the domains you set up as property hostnames. Pre-validate your domains before adding them to the bucket. You can either use PAPI to generate validation challenges or pre-validate your domains in the Domain Ownership Manager application.

Note: If you're using a new account, first register it on the Akamai network by activating any property version on either staging or production. Otherwise, your attempts to create or specify certificates will fail with a 403 error.

Path Params
string
required

Unique identifier for the property. See ID prefixes for details on omitting the value's prp_ prefix.

Query Params
string

Unique identifier for the contract. The parameter is optional if a property belongs to only one contract. Otherwise you need to specify it along with the groupId. In other operations that don't specify a propertyId URL parameter, this parameter is always required. See ID prefixes for details on omitting the value's ctr_ prefix.

string

Unique identifier for the group. The parameter is optional if a property belongs to only one group. Otherwise you need to specify it along with the contractId. In other operations that don't specify a propertyId URL parameter, this parameter is always required. See ID prefixes for details on omitting the value's grp_ prefix.

string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
add
array of objects

The property hostnames you want to add to a hostname bucket. You can specify up to 1000 new property hostnames in a single request.

add
enum
required

The network to activate on, either STAGING or PRODUCTION.

Allowed:
string

Assigns a log message to the request.

notifyEmails
array of strings
length ≥ 1

Email addresses to notify when the activation status changes.

notifyEmails
remove
array of strings

The property hostnames you want to delete from the current set in the hostname bucket.

remove
Headers
string
enum
required

Enum Sets whether to represent ID prefixes in response data. Set to false when exchanging PAPI data with other APIs.

Allowed:
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
Response
Choose an example:
application/json
application/problem+json