Associates a tag to a trailer

POST /api/trailer/{trailerId}/tag

Adds a new tag to a trailer. If the tag was already associated with the trailer, it will be ignored

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Path parameters

application/json

Body

Responses

POST /api/trailer/{trailerId}/tag
curl \
 -X POST https://api-dev.gatego.io:443/api/trailer/{trailerId}/tag \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"tag_id":42}'
Request example
# Headers

# Payload
{
  "tag_id": 42
}