Enumerate Subscriptions
/subscriptionsLists subscriptions owned by the authenticated caller when owner is omitted. Supplying owner selects that owner's subscriptions, filtered by the caller's SubscriptionRead permissions. Supplying id selects the exact subscription and still applies its read permission. The default page size is 10 and the maximum is 100; results use nextToken pagination.
Required scope
subscription:readQuery parameters
- owner
string Filter the results by the owner of the resource. Defaults to the authenticated caller's resources when omitted. Use '~caller' to make that scope explicit. Another owner can be selected only for resources the caller can read.
- expand
array<string> Expansion tokens that request related or computed fields for each result. When omitted, the response contains only the default, shallower set of fields for each result.
Errors
400 BAD_REQUESTInvalid query parameter.
Check the request fields and any validation details, then correct the payload.
401 UNAUTHORIZEDUnauthorized — invalid or missing authentication token.
Obtain a valid access token, then retry.
403 INSUFFICIENT_PERMISSIONSForbidden — insufficient permissions for the requested owner.
Check the linked account and its permissions for the device or resource.
500 INTERNALInternal server error
Retry with backoff only when the operation is safe to repeat. Include the error code when reporting persistent failures.