Creates a new Tag for the specified Location.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{company_id}/tags
- Productionhttps://api.alteg.io/api/v2/locations/{company_id}/tags
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{company_id}/tags' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "VIP Booking User",
"color": "#ff2828",
"entity": 0,
"icon": "star"
}'Response
{ "data": { "type": "tag", "id": "241627", "attributes": { … } }, "meta": [] }