Skip to main content
Version: 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.

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

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

application/json

Bodyrequired

    companyIdstringrequired

    Company ID owning the location

application/json

Attached config removed successfully

Schema
    successbooleanrequired

    Indicates if the remove attached config operation succeeded

    locationIdstringrequired

    Location ID the attached config was removed from

    removedAttachedPlanbooleanrequired

    Whether an attached SaaS plan was cleared

    removedAttachedRebillingbooleanrequired

    Whether attached rebilling config was cleared