Errors

Code Description
401 Unauthorized
500 Internal Server Error
422 Missing parameters

Examples

POST /api/v2/assets/042uT3wBW4fR4Me2tnyK/restore
200
{
  "ok": "ok"
}
POST /api/v2/assets/not-found-id/restore
404
{
  "error": "asset not found"
}
POST /api/v2/assets/not-found-id/restore
404
{
  "error": "asset not found"
}

Params

Param name Description
asset_id
required

Asset ID

Validations:

  • Must be a String

Headers

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