Update a zone's TSIG key

Creates or replaces the current TSIG Key for this zone. If other zones use the same key, doesn't modify those zones.

Path Params
string
required

The name of the zone.

Query Params
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

A TSIG key.

string
enum
required

The algorithm used to encode the TSIG key's secret data. Possible values are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384, hmac-sha512, or HMAC-MD5.SIG-ALG.REG.INT.

Allowed:
string
required

The name of the TSIG key. This is a name that's unique across all of Akamai's customers. Since the key name is treated like a DNS name, the value is lowercase and the server removes any trailing dots.

string
required

A Base64-encoded string of data. When decoded, it needs to contain the correct number of bits for the chosen algorithm. If the input isn't correctly padded, the server applies the padding.

Response
204

The operation was successful. No response data is returned.

Language
URL
LoadingLoading…