Delete

Deletes an external storage policy by name or ID. The policy must not be referenced by any agent.

Authentication

AuthorizationBearer
Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).

Path parameters

nameOrIdstringRequired
The name or the ID of the external storage policy to delete.

Query parameters

projectstringOptionalDefaults to main

The name of the project containing the external storage policy. Only used when nameOrId is a name.

Response

Success response
successboolean
Whether the external storage policy was deleted successfully.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error