Delete specific account labels

This endpoint allows to delete specific accounts labels.

Request

POST /insights/v1/storage/accounts/labels/delete HTTP/1.1
Content-Type: application/json; charset=utf-8
Authorization: Token <Token>
Host: <Host>
{
    "insights_consumer_id": String,
    "insights_account_id": String
    "label_keys": Array<String>
}

insights_consumer_id String, required

The id identifying the consumer to whom the account belongs.

insights_account_id String, required

The id identifying the account for which the labels are added/updated.

label_keys String[], required

A list of label keys to remove.

Response

{}

Example request

{
    "insights_consumer_id": "6c03aff-8fa0046-ffae74-b0cbc-4d5fd1",
    "insights_account_id": "3b3d678f-66b7-4b23-a2a5-0bfd275e86a1",
    "label_keys": ["user-group"]
}

results matching ""

    No results matching ""