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 options
v3locationId stringrequired
Location ID (Sub-account) to remove attached config from
- application/json
- Body
- Example (auto)
Bodyrequired
companyIdstringrequired
Company ID owning the location
{
"companyId": "5DP4iH6HLkQsiKESj6rh"
}
Attached config removed successfully
- application/json
- Schema
- Example (auto)
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
{
"success": true,
"locationId": "AUKAtFVo0lWezBsBQ3FE",
"removedAttachedPlan": true,
"removedAttachedRebilling": false
}