Create Asset Tag
OpenAPI spec
Example
curl -i --request POST \
--url https://environment.monterosa.cloud/api/v2/asset_tags \
--header 'Authorization: Bearer rJURvA6XuuHxG5RHauqR1yy64JQcTfGu' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "asset_tags",
"attributes": {
"name": "My Tag"
},
"relationships": {
"brand": {
"data": {
"type": "brands",
"id": "64915552-05a1-4d4b-81c7-39a6d06374d3"
}
}
}
}
}'
{
"data": {
"attributes": { "name": "My Tag" },
"id": "5b3ed36e-d727-40de-b49b-b47cb1175861",
"relationships": {
"brand": {
"data": {
"id": "64915552-05a1-4d4b-81c7-39a6d06374d3",
"type": "brands"
}
}
},
"type": "asset_tags"
}
}