v1

latestOpenAPI 3.0.32026-08-067332206.6 KB
labels

Update a label

Updates the name of the matching label.

put/labels/{label_id}

Request body

Example request

{
  "data": {
    "attributes": {
      "name": "onboarding"
    }
  }
}

Response

The updated label.

Example response

{
  "default_asset_type": {
    "id": "oqgkkd-fr5iv4-443db",
    "attributes": {
      "name": "onboarding",
      "path": [
        "oqgkkd-fr5iv4-443db",
        "abc123"
      ],
      "depth": 2
    }
  }
}