Skip to main content
Recently Deleted/Recently Deleted

PatchAssetLabels

Partially update labels on the specified asset by adding or removing keys.

PATCH/api/v1/assets/{assetType}/{assetUuid}/labels

Operation ID

PatchAssetLabels

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

  • assetType
    StringRequired

    Type of the asset to patch labels on (e.g. vm, host, volume)

  • assetUuid
    StringRequired

    UUID of the specific asset to patch labels on

Body Fields

  • add
    ObjectRequired

    The add value

    Example: (nested object)

  • remove
    ListRequired

    Remove for this resource

    Example: item1,item2

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • data
    Object

    The data value

    Example: (nested object)