The label object
Whenever you fetch, create, or edit a label, the API responds with an array of one or more label objects.| Key | Description |
|---|---|
| id | Unique identifier for the label |
| name | Human-readable label name |
| slug | URL-safe identifier generated from the label name |
| created_at | Date and time the label was created |
| updated_at | Date and time the label was last updated |
| count | Related resource counts, included when requested |
Parameters
When retrieving labels from the Admin API, it’s possible to use theinclude, filter, fields, limit, page, and order parameters.
Available include values:
count.members- include the number of members assigned to each label
limit, page, and order parameters as documented in the Content API.
Creating a label
Updating a label
Deleting a label
UseDELETE /admin/labels/{id}/ to delete a label.
