Skip to navigation

Update Reseller Workspace

Update a customer workspace. Only the fields sent are changed.

Path parameters

workspace_idstringRequired

ID of the customer workspace. Returned when you provision one; list them with GET /v1/reception/reseller/workspaces.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
metadatamap from strings to stringsOptional

Replaces the workspace’s whole metadata map; send {} to clear it. Omitted leaves it unchanged.

Response

Successful Response
workspace_idstring
business_namestring
billing_tierstring or null
receptionist_countinteger
calls_last_30_daysinteger
created_at_unixinteger
subscriptionobject or nullOptional

The reseller-managed subscription, when this workspace has one. None means the reseller sells nothing here: no tier is assigned yet, or the workspace pays for its own subscription (see charge_customer).

charge_customerbooleanOptionalDefaults to false
The workspace pays for its own subscription, so its tier can't be assigned or changed here.
has_payment_issuebooleanOptionalDefaults to false
A charge for this workspace is unpaid. Assigning or changing a tier is refused until it clears, so surface it rather than letting it fail.
onboarding_completed_at_unixinteger or nullOptional
When onboarding finished. Until then the onboarding wizard may replace or remove the workspace's business data.
metadatamap from strings to stringsOptionalDefaults to {}

Your own key-value pairs for the workspace.

Errors

422
Unprocessable Entity Error