Skip to main content

Update tags

Select

SaaS
Customer Managed

This operation updates a new tag or multiple tags for a given entity or multiple entities.

Request Body
  • entityTag object[] required
  • entityType integer required

    This value defines the type of entity which can be used for tag association

    Valid Values are

    • 3, CLIENT_ENTITY
    • 5, INSTANCE_ENTITY
    • 7, SUBCLIENT_ENTITY
    • 28, CLIENT_GROUP_ENTITY
    • 64, PROVIDER_ENTITY
    • 158, PLAN_ENTITY
    • 61, COMPANY_ENTITY
  • entityId integer required

    Id of the entity such as client, instance, subclient and so on.

  • tag object[]

    Tag object

  • name string required

    Tag Name

  • value string required

    Tag value

Responses

OK

PUT /tags    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
token
Body

{
"entityTag": [
{
"entityType": 0,
"entityId": 0,
"tag": [
{
"name": "string",
"value": "string"
}
]
}
]
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Tags' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityTag": [
{
"entityType": 0,
"entityId": 0,
"tag": [
{
"name": "string",
"value": "string"
}
]
}
]
}'