[{"label":"Latest (v36.3)","version":"latest"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Update Security Tag

Description

Only the list of tagged entities can be updated. The name cannot be updated. Any other existing entities not in the list will be untagged.

Request

Request

URL

URL


put
https://{api_host}/cloudapi/1.0.0/securityTags/tag
Copy

Request Body

Request Body

SecurityTag of type(s) application/json Required
{
	"entities": [
		"string"
	],
	"tag": "string"
}
array of string
entities Required

List of entities to tag in urn format.


string
tag Required

The tag to use.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

security tag updated

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"entities":["string"],"tag":"string"}' https://{api_host}/cloudapi/1.0.0/securityTags/tag


[{"label":"Latest (v36.3)","version":"latest"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?