Up - API Reference - Home
Requires JWT.
Permanently deletes a deleted asset and its subtree.
Note: AND its subtree!
Use with care
The assets are removed from the database and are no longer recoverable.
POST /api/p/<project gid>/assets/permanent_delete
Authorization: Bearer <JWT>
{
"asset": "<asset gid>"
}
Authorization: <JWT>
{
"success": true,
"result": {
"parent": "96ec02b2-fb8d-4fb4-b952-fad0c4b88a74"
},
"data": {
"assets": {
"96ec02b2-fb8d-4fb4-b952-fad0c4b88a74": {
…
},
…
}
}
}
parent
the parent asset with updated childcount.
assets
Asset info with hierarchy, type, name.
400
Bad request - missing argument
401
Unauthorized - missing or expired JWT
403
Forbidden - not a member of this project
422
Unprocessable entity - permanent deletion failed