SetResourceLabels
Replace all labels on the specified resource with the provided label set.
PUT
/api/v1/resources/{resourceType}/{resourceUuid}/labelsOperation ID
SetResourceLabelsSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonPath Parameters
resourceTypeStringRequiredType of the resource to set labels on (e.g. vm, host, volume)
resourceUuidStringRequiredUUID of the specific resource to set labels on
Body Fields
labelsObjectRequiredKey-value labels attached to this resource
Example: (nested object)
