Skip to content

Add a tag to a risk

POST
/v1/risks/{id}/tags
curl --request POST \
--url https://api.adversarial.com/api/v1/risks/RSK-00001/tags \
--header 'Content-Type: application/json' \
--data '{ "tag_id": "00000000-0000-0000-0000-000000000000" }'
id
required
string

The ID of the risk — RSK-00001 (case-insensitive) or a bare number

Example
RSK-00001
Media typeapplication/json
object
tag_id
string format: uuid
default: 00000000-0000-0000-0000-000000000000

Tag added to risk

Media typeapplication/json
object
message
string
""
Example
{
"message": ""
}

Risk or tag not found

Tag already associated with risk