v1

latestOpenAPI 3.0.32026-08-067332206.6 KB
labels

Move the label

Assigns the label a new parent label.

put/labels/{label_id}/move

Request body

Example request

{
  "data": {
    "attributes": {
      "parent_key": "abc123"
    }
  }
}

Response

The updated label.

Example response

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