Create Tags
Select
SaaS
Customer Managed
This operation creates a new tag or multiple tags for a given entity or multiple entities.
- application/json
Request Body
entityTag object[] required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
error object
{
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
{
"error": {
"errorMessage": "Successfully executed given operation",
"errorCode": 0
}
}
POST /tags
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Tags' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityTag": [
{
"entityType": 0,
"entityId": 0,
"tag": [
{
"name": "string",
"value": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Tags' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityTag": [
{
"entityType": 0,
"entityId": 0,
"tag": [
{
"name": "string",
"value": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Tags' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityTag": [
{
"entityType": 0,
"entityId": 0,
"tag": [
{
"name": "string",
"value": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Tags' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityTag": [
{
"entityType": 0,
"entityId": 0,
"tag": [
{
"name": "string",
"value": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Tags' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityTag": [
{
"entityType": 0,
"entityId": 0,
"tag": [
{
"name": "string",
"value": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Tags' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityTag": [
{
"entityType": 0,
"entityId": 0,
"tag": [
{
"name": "string",
"value": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Tags' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityTag": [
{
"entityType": 0,
"entityId": 0,
"tag": [
{
"name": "string",
"value": "string"
}
]
}
]
}'