[{"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

Remove Tags From Host

Description

Remove Tags From Host

Request

Request

URL

URL


delete
https://sfo-vcf01.rainpole.io/v1/hosts/{id}/tags
Copy

Path Parameters

Path Parameters

string
id Required

Host ID


Request Body

Request Body

TagsSpec of type(s) application/json Required

Tags Spec

{
	"tagIds": [
		"string"
	]
}
array of string
tagIds Required

Tag IDs

Response

Response

Response Body

Response 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

Errors

Error
400

Bad Request


Error
500

InternalServerError

Code Samples

Code Samples

cURL Command

curl -X DELETE -H "Content-Type: application/json" -d '{"tagIds":["string"]}' https://sfo-vcf01.rainpole.io/v1/hosts/{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
Feedback

Was this page helpful?