Update Tag
Update an existing tag.
Endpointโ
PATCH /v1/tags/{id}
Authenticationโ
Requires an API key with the bookings:write scope.
Parametersโ
| Parameter | Type | Location | Description |
|---|---|---|---|
id | integer | path | The tag ID |
Request Bodyโ
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Tag name (max 255 characters, must be unique per supplier) |
Example Requestโ
curl -X PATCH "https://app.equipdash.com/api/v1/tags/4" \
-H "Authorization: Bearer eqd_live_abc123xyz789..." \
-H "Content-Type: application/json" \
-d '{
"name": "High Priority"
}'
Responseโ
Success (200 OK)โ
Returns the updated tag resource.
Errorsโ
| Status | Code | Description |
|---|---|---|
| 401 | authentication_required | No API key provided |
| 401 | invalid_api_key | Invalid API key |
| 403 | insufficient_scope | API key lacks bookings:write scope |
| 403 | forbidden | Tag belongs to different supplier |
| 404 | resource_not_found | Tag does not exist |
| 422 | validation_error | Invalid request data |