PATCH/projects/api/v3/tags/{tagId}.json
Update a single tag
Updates a existing tag. If there's already a tag with the same changed name in the installation, it will be returned the status code 409 (CONFLICT).
Path Params
- Name
tagId
- Type
- integer
- required
- Description
Body Params
Request contains information of a tag to be created or updated.
- Name
tag
- Type
- object
- Description
- Tag contains all the information returned from a tag.
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
Response contains information about a specific tag.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 403
- Type
- object
- Schema
- Description
- 403 Forbidden
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 404
- Description
- 404 Not Found No Data
- Code
- 409
- Type
- object
- Schema
- Description
- 409 Conflict
ErrorResponse defines how []Error should be marshaled to JSON.
200 OK
Response
{
"tag": {
"color": "string",
"count": 0,
"id": 0,
"name": "string",
"project": {
"id": 0,
"meta": {},
"type": "string"
},
"projectId": 0
}
}