HisendHISEND Docs

Delete projects

DELETE
/admin/projects/{id}

Requires a user JWT with the admin role. Soft-delete operational descendants and retain historical records. Provider cleanup is separate. Self-deletion and removal of the last active admin are blocked.

Authorization

AdminJWT
AuthorizationBearer <token>

User JWT; backend checks the admin role. Project API keys cannot access admin endpoints.

In: header

Path Parameters

id*integer
Range0 <= value

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.hisend.app/v1/admin/projects/0" \  -H "Content-Type: application/json" \  -d '{    "confirmation": "string",    "reason": "string"  }'
Empty
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}