Skip to main content

Remove secret vaults from an access policy

DELETE 

/api/v1/AccessControlPolicy/:policyId/SecretVault

Removes the listed secret vaults from the access policy. The response is the number of listed secret vaults that exist and were processed. The access policy must be a credential access policy. The server reads the list from the request body of this DELETE request, so the body is required. Some HTTP clients and API tools drop the body of a DELETE request; check that yours sends it.

Permission required: Administrator role.

Caution: The removal takes effect immediately; to undo it, add the secret vaults to the access policy again.

Request​

Responses​

Returns the number of secret vaults processed. A vault that existed but was not attached to the policy is still counted.