Remove a credential policy

DELETE/credentials/{credential_id}/policies/{policy_id}

Removes a policy from a credential. The change publishes a new policy revision containing all remaining policies.

Removing the last policy is allowed and leaves the credential without access to any resource.

A credential cannot modify its own policies.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

credential_id*string
policy_id*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/credentials/string/policies/string"
Empty