Errors

Code Description
401 Unauthorized
500 Internal Server Error
422 Missing parameters

Examples

POST /api/v2/assets/not-found-id/assign
404
{
  "error": "asset not found"
}
POST /api/v2/assets/1o2uT3wBW4fR4Me2wnzj/assign
{
  "to_project_id": "not-found-id"
}
200
{
  "error": "project with id: not-found-id not found"
}
POST /api/v2/assets/142uT3wBW4fR4Me2x3xi/assign
{
  "to_project_id": "2I2uT3wBW4fR4Me2ynzh"
}
200
{
  "ok": "ok"
}

Params

Param name Description
to_project_id
required

Project ID

Validations:

  • Must be a String

Headers

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