Errors

Code Description
401 Unauthorized
500 Internal Server Error
422 Missing parameters

Examples

POST /api/v2/assets/0Y2uT3wBW4fR4Me2qnxe/trash_bin
200
{
  "ok": "ok"
}
POST /api/v2/assets/not-found-id/trash_bin
404
{
  "error": "asset not found"
}

Headers

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