Update tag
PATCH/v2/boards/:board_id/tags/:tag_id
Updates a tag based on the data properties provided in the request body.
Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: Attach tag to item, Remove tag from item, Delete tag.
Required scope
boards:writeRate limiting
Level 1Request
Path Parameters
Unique identifier (ID) of the board where you want to update a specific tag.
Unique identifier (ID) of the tag that you want to update.
- application/json
Body
required
Possible values: [red
, light_green
, cyan
, yellow
, magenta
, green
, blue
, gray
, violet
, dark_green
, dark_blue
, black
]
Default value: red
Fill color for the tag.
Possible values: <= 120 characters
Text of the tag. Case-sensitive. Must be unique.
Responses
- 200
- 400
- 404
- 429
Tag updated
- application/json
- Schema
- Example (from schema)
Schema
Unique identifier of the tag.
Text of the tag
Possible values: [red
, light_green
, cyan
, yellow
, magenta
, green
, blue
, gray
, violet
, dark_green
, dark_blue
, black
]
Background color of the tag.
links
object
Contains applicable links for the current object.
Link to obtain more information about the current object.
Type of the object that is returned. In this case, type returns tag
.
{
"id": "3074457363306854000",
"title": "delayed",
"fillColor": "red",
"links": {
"self": "http://api.miro.com/v2/boards/o9J_koQspF4=/object_type/3074457349143649487"
},
"type": "string"
}
Malformed request
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}