Update the configured auto-subscriptions settings of a workspace

patch/subscriptions/v1alpha1/auto-subscription-settings/{id}

Update the configured auto-subscriptions managed in a workspace.

In the payload, you can pass a list of deviceType and tier combinations to be updated or created. If the combination of deviceType and tier is already configured, it is updated. Otherwise, the combination is created. If you need to remove settings for one or more combination of deviceType and tier, pass tier as null for the required deviceType.

NOTE: You need to have the edit permission for the Devices and subscription service to invoke this API.

Rate limits are enforced on this API. 25 requests per minute is supported per workspace. API will result in 429 if this threshold is breached.

SecurityBearer
Request
path Parameters
id
required
string

The unique identifier of the auto subscription settings.

Request Body schema: application/merge-patch+json
required
Array of objects (RequestPostAutoSubscription)
Responses
200

Successful response

400

Bad request

401

Unauthorized request

403

The operation is forbidden

422

Validation error

429

Too many requests

500

Internal server error

Request samples
application/merge-patch+json
{
  • "autoSubscriptionSettings": [
    ]
}
Response samples
application/json
{
  • "id": "64343c3c-3016-4234-baee-765651aa4bb3",
  • "createdAt": "2024-02-07T11:20:35.290Z",
  • "updatedAt": "2024-02-07T11:22:35.800Z",
  • "generation": 0,
  • "type": "subscriptions/auto-subscription-settings",
  • "resourceUri": "string",
  • "autoSubscriptionSettings": [
    ]
}