[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
Assign Tags To Existing Cluster
DescriptionAssign Tags to Cluster
Request
URLURL
https://sfo-vcf01.rainpole.io/v1/clusters/{id}/tags
Path Parameters
Path Parameters
string
id
Required
Cluster ID
Response
Response
Response BodyResponse Body
200 OK
Returns
TagAssignmentResult
of type(s) application/json
{
"defaultErrorMessages": [
"string"
],
"success": false
}
array of
string
defaultErrorMessages
Optional
Default Error messages for Assign/Detach Tags operation
boolean
success
Optional
Success value of Assign/Detach Tags operation
Errors
Error
400
Bad Request
Error
500
InternalServerError
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"tagIds":["string"]}' https://sfo-vcf01.rainpole.io/v1/clusters/{id}/tags
[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail