Delete a Secret Manager instance
You can delete a Secret Manager instance within your space, whatever its status.
warning
Make sure the Secret Manager instance is not in use before deleting it. Deletion is irreversible and results in the loss of all secrets stored in the instance.
Permissions
info
This action requires the following IAM (Identity and Access Management) permissions:
- secrets.instance.delete
- API
The DELETE /secrets/spaces/{spaceId}/instances/{instanceId} request deletes a Secret Manager instance.
The instance switches to the DELETING status during the deletion.
Example response
HTTP/1.1 204 No Content