Update a policy set

PUT https://{{host}}/imaging/v2/policysets/:policySetId

Update the name or region of an existing policy set on both networks.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) 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.

Request Body

{"name"=>"my_renamed_policy_set"}

HEADERS

KeyDatatypeRequiredDescription
ContractstringUnique identifier for the Akamai Contract containing the policy sets. Required if you have access to more than one contract with Image & Video Manager.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"4a56adc0-9f16-14ce-d61d-56befacf783b-v","lastModified":"2022-01-10 14:25:43+0000","name":"my_renamed_policy_set","properties":["example.com"],"region":"US","type":"VIDEO","user":"alfulani"}