Skip to navigation

Update

Update an existing Content Key Policy.

RBAC Capability Required: ams.contentkeypolicy.update

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_namestringRequired
policy_namestringRequired

Request

This endpoint expects an object.
propertiesobjectRequired
The key policy
systemDataobjectOptional
Metadata pertaining to creation and last modification of the resource.

Response

Content Key Policy was updated
propertiesobject
The key policy
idstringOptionalRead-only

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

namestringOptionalRead-onlyformat: "^[^\^\'<>%&:\\?/*+]+$"1-260 characters
The name of the resource
systemDataobjectOptional
Metadata pertaining to creation and last modification of the resource.
typestringOptionalRead-only

The type of the resource. E.g. "Microsoft.Media/mediaservices/assets"

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error