v1

latestOpenAPI 3.1.0© Copyright Partoo2026-07-26163503484.0 KB
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

status'success'

Request status

org_idinteger

Unique identifier of an organization in Partoo.

Example response

{
  "org_id": 42
}