Secrets

Delete a secret

Deletes a secret

delete/v1/projects/{project_id}/secrets/{secret_id}

Request

  • Base URL: https://api.naturali.ai
  • URL: https://api.naturali.ai/v1/projects/{project_id}/secrets/{secret_id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)

Path parameters

secret_idstring required

Secret ID

Query parameters

forceboolean

Delete the secret even when AI providers reference it, destroying those providers too. Without it a referenced secret answers SECRET_HAS_DEPENDENTS.

Response

Secret deleted successfully

Changes

No recorded changes to this operation across all 1 revision of this API.