Create tag
POST/v2/boards/:board_id/tags
Creates a tag on a board.
Required scope
boards:writeRate limiting
Level 1Request
Path Parameters
Unique identifier (ID) of the board where you want to create the tag.
- 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
- 201
- 400
- 404
- 429
Tag created
- 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"
}