Skip to main content
SaaSVersion: v3

Remove attached config

POST/saas/remove-attached-config/{locationId}

Clears attached SaaS plan (attachPlanId/attachPriceId) and/or attached rebilling config from a sub-account in setup_pending, and sets suspendedInfo.payment_pending to false.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:saas/company.write
Auth methods:OAuthPrivate Integration
Token type:Agency Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

locationIdstringrequired

Location ID (Sub-account) to remove attached config from

Example:AUKAtFVo0lWezBsBQ3FE

Body

companyIdstringrequired

Company ID owning the location

Example:5DP4iH6HLkQsiKESj6rh

Response

Attached config removed successfully

successbooleanrequired

Indicates if the remove attached config operation succeeded

Example:true
locationIdstringrequired

Location ID the attached config was removed from

Example:AUKAtFVo0lWezBsBQ3FE
removedAttachedPlanbooleanrequired

Whether an attached SaaS plan was cleared

Example:true
removedAttachedRebillingbooleanrequired

Whether attached rebilling config was cleared

Example:false