curl -X PATCH 'https://api.example.com/tag-groups/tag_group_priority' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Priority Level",
"description": "Updated priority levels"
}'
{
"id": "tag_group_priority",
"scopeId": "scope_acme",
"name": "Priority Level",
"key": "priority",
"description": "Updated priority levels",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdBy": "user-1",
"createdAt": "2024-01-15T10:30:00Z"
}
Update a tag group
curl -X PATCH 'https://api.example.com/tag-groups/tag_group_priority' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Priority Level",
"description": "Updated priority levels"
}'
{
"id": "tag_group_priority",
"scopeId": "scope_acme",
"name": "Priority Level",
"key": "priority",
"description": "Updated priority levels",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdBy": "user-1",
"createdAt": "2024-01-15T10:30:00Z"
}
curl -X PATCH 'https://api.example.com/tag-groups/tag_group_priority' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Priority Level",
"description": "Updated priority levels"
}'
{
"id": "tag_group_priority",
"scopeId": "scope_acme",
"name": "Priority Level",
"key": "priority",
"description": "Updated priority levels",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdBy": "user-1",
"createdAt": "2024-01-15T10:30:00Z"
}
Was this page helpful?