Update Tag¶
This endpoint updates the details of a tag.
Request¶
PATCH https://v2.api.uberflip.com/tags/{tagId}
Path Parameters | Description |
---|---|
tagId | The unique identifier of the tag |
Body Parameters | Properties | Type | Description |
---|---|---|---|
name | String | The name of the tag | |
description | String | The description of the tag |
Response¶
Body Parameters | Properties | Type | Description |
---|---|---|---|
id | Integer | The tag identifier | |
tag_group_id | Integer | The tag group identifier | |
name | String | The tag title | |
description | String | The tag description | |
items_count | String | The tag URL | |
created_at | Date | The tag created date | |
modified_at | Date | The tag last modified date |
Examples¶
curl -X PATCH -H "Content-Type: application/json" -H "Authorization: Bearer [Token]" -d "{ \
\"name\": \"tagnameup\", \
\"description\": \"Tag Description Update\", \
} }" \
-i https://v2.api.uberflip.com/items/56516
Sample response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": 123,
"tag_group_id": 5439,
"name": "tagnameup",
"description": "Tag Description Update",
"items_count": 1,
"created_at": "2017-06-21T09:49:28-0400",
"modified_at": "2017-06-21T09:49:28-0400"
}