Unicat API Reference

Up - API Reference - Home


/api/projects/permanent_delete

Requires JWT.

Permanently deletes a deleted project. You must be the owner of this project.

The project is removed from the database, all data and assets are removed and no longer recoverable.

Use with care

Request

POST /api/projects/permanent_delete
Authorization: Bearer <JWT>

{
    "project": "<project gid>"
}

Success response

Authorization: <JWT>

{
    "success": true,
    "result": {},
    "data": {}
}

There is no result info or data in the response as the project no longer exists.

Note: you'll get an updated JWT to reflect the deleted project.

Error responses

400 Bad request - missing argument
401 Unauthorized - missing or expired JWT
403 Forbidden - not the owner of this project
422 Unprocessable Entity - deletion failed