Skip to main content
Infrastructure/Infrastructure Misc

GetResourceLabels

Get all labels currently bound to the specified resource.

GET/api/v1/resources/{resourceType}/{resourceUuid}/labels

Operation ID

GetResourceLabels

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

application/json

Path Parameters

  • resourceType
    StringRequired

    Type of the resource (e.g. vm, host, volume)

  • resourceUuid
    StringRequired

    UUID of the specific resource to retrieve labels for

Responses

200 OK

Successful response

Content-Type: application/json

Response body root type: object

============================================================================ Common Messages ============================================================================ StructResponse wraps google.protobuf.Struct for dynamic/polymorphic payloads.

  • data
    Object

    The data value