Organizations
Delete organization
This endpoint lets you delete an organization. You need to have WRITE access on your provider. When an organization gets deleted all the resources linked to it are deleted (users and businesses). If the organization still has businesses or users, it would raise an error if you do not indicate force="True" in the JSON body.
delete/org/{org_id}
Path parameters
org_idinteger required
Unique ID of the organization to which the resource belongs. Only PROVIDER users can access resources from a different organization than their own. If you are not a PROVIDER, this will default to the ID of your organization.
Query parameters
forceboolean
Force the deletion of organization even if there are still users and business linked to it
Response
OK
Example response
{
"org_id": 42
}