Update Tag
- Param
- Body
- Response
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | ✅ | ID of the tag |
Example
/v1/tags/:id
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| title | string | ✅ | Updated title of the tag |
| color | string | ✅ | Updated hex color code of the tag |
| description | string | ❌ | Updated description of the tag |
Example
{
"title": "Frontend",
"color": "#353232",
"description": "Itens from the company frontends"
}
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier of the updated tag |
| title | string | Updated title of the tag |
| color | string | Updated hex color code of the tag |
| description | string | Updated description of the tag |
| user_id | string | ID of the user who owns the tag |
Example
{
"code": 200,
"meta": {
"version": "v1.0.0",
"is_authenticaded": true
},
"response": {
"id": "0fIwVvdva",
"title": "Frontend",
"color": "#353232",
"description": "Itens from the company frontends",
"user_id": "HhWKhVIPM7er5KttMNC68hl5o8t1"
}
}
CURL Example
curl -X PUT "https://api-integrations.snackprompt.com/v1/tags/:id" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"title":"Frontend","color":"#353232","description":"Itens from the company frontends"}'