Headers

Header name Description
Content-Type
required
application/json
X-API-KEY
required
YOUR_API_KEY

Examples

// Failed request
DELETE /api/v2/projects/not-found-id/unassign
404
{
  "error": "project not found"
}
// Successful request
DELETE /api/v2/projects/O9z1OnZPYogSKiwNeCzc/unassign
200
{
  "ok": "ok"
}
// Trying to unassign project which has no parent project
DELETE /api/v2/projects/xt7wR2rWQJciWjONUzyz/unassign
200
{
  "error": "xt7wR2rWQJciWjONUzyz does not have a parent project"
}

Errors

Code Description
401 Unauthorized
404 Not found
500 Internal Server Error
422 Missing parameters