Add asset type to production

POST /data/projects/{project_id}/settings/asset-types

Add an asset type linked to a production.

Path parameters

  • project_id string(uuid) Required

    Project unique identifier

application/json

Body Required

  • asset_type_id string(uuid) Required

    Asset type unique identifier

Responses

  • 201 application/json

    Asset type added to production

    Hide response attributes Show response attributes object
    • id string(uuid)

      Project unique identifier

    • name string

      Project name

  • 400

    Invalid parameters

POST /data/projects/{project_id}/settings/asset-types
curl \
 --request POST 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/settings/asset-types' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"asset_type_id":"b35b7fb5-df86-5776-b181-68564193d36"}'
Request examples
{
  "asset_type_id": "b35b7fb5-df86-5776-b181-68564193d36"
}
Response examples (201)
{
  "id": "a24a6ea4-ce75-4665-a070-57453082c25",
  "name": "My Project"
}