Projects
Delete Project
Deletes a project by its ID. The project must belong to the organization. Requires an organization admin API key (ASA_ prefix). No OTP verification is required for admin API key callers.
DELETE
This endpoint requires an organization admin API key (
ASA_ prefix). Standard project API keys cannot access this endpoint.Authorizations
Organization admin API key header of the form Bearer
ASA_<key>. Standard project API keys (AS_ prefix) will receive a 403 error.Path Parameters
The unique identifier of the project to delete (MongoDB ObjectId). The project must belong to the authenticated organization.Example:
"60d5ec49f1b2c72d9c8b1234"Response
Project deleted successfullyIndicates if the request was successfulExample:
trueConfirmation messageExample:
"Project deleted successfully"Error Responses
Returned when using a standard project API key instead of an organization admin API key.
Returned when the
projectId parameter is not a valid MongoDB ObjectId.Returned when the project does not exist or does not belong to the organization.