Update Tag
patch
https://api.flxpoint.com/tags/{tagId}Use this when you want to update tags data through the API.
🔑 X-API-TOKEN⏱ 2 req/sToken: Account · Source · Channel
This page explains the endpoint. To send a live test request, use the interactive tester in Stoplight or your own Postman / HTTP client.
Renames the tag. Every entity tagged with it keeps the tag under the new name.
Request
Body
application/jsonnamestringrequiredExample request
patch
/tags/{tagId}curl -X PATCH "https://api.flxpoint.com/tags/{tagId}" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'Example body · application/json
{
"name": "string"
}Responses
200OKapplication/json
idintegernamestringExample response
{
"id": 0,
"name": "string"
}400Bad Request
No schema documented for this status.
401Unauthorized
No schema documented for this status.
404Not Found
No schema documented for this status.
409Conflict - a tag with this name already exists
No schema documented for this status.
OpenAPI fragment
{
"patch": {
"summary": "Update Tag",
"description": "Renames the tag. Every entity tagged with it keeps the tag under the new name.",
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SaveTagRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Tag"
}
}
}
},
"400": {
"description": "Bad Request"
},
"401": {
"description": "Unauthorized"
},
"404": {
"description": "Not Found"
},
"409": {
"description": "Conflict - a tag with this name already exists"
}
}
}
}Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight