Add an asset type linked to a production.

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

Path parameters

  • project_id string(uuid) Required
application/x-www-form-urlencoded

Body Required

  • asset_type_id string(uuid) Required

Responses

  • 201 application/json

    Asset type added to production

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

    Invalid parameters

  • 404

    Project or asset type not found

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/x-www-form-urlencoded" \
 --data 'asset_type_id=a24a6ea4-ce75-4665-a070-57453082c25'
Response examples (201)
{
  "id": "string",
  "name": "string"
}