Attach a tag to issue
Parameters
| Name | In | Type | Description |
|---|---|---|---|
issue_id
required
|
path | integer |
The issue ID
e.g. 123
|
Request body required
tags
object[]
id
number
Responses
-
201
Resource created successfully
X-Mantis-UsernameX-Mantis-LoginMethodX-Mantis-Version - 400 Bad Request
- 404 Entity not found
cURL
curl -X POST \
-H "Authorization: Bearer $MANTIS_TOKEN" \
-H "Content-Type: application/json" \
https://yourmantishubname.mantishub.io/api/rest/issues/123/tags \
-d '{
"tags": [
{
"id": 1
}
]
}'
Request body · application/json
{
"tags": [
{
"id": 1
}
]
}