Skip to main content
DELETE
/
org
/
{org_id}
Delete organization
curl --request DELETE \
  --url https://api.partoo.co/v2/org/{org_id} \
  --header 'x-APIKey: <api-key>'
{
  "status": "success",
  "org_id": 42
}

Authorizations

x-APIKey
string
header
required

The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.

Path Parameters

org_id
integer
required

Organization id

Query Parameters

force
boolean
default:false

Force the deletion of organization even if there are still users and business linked to it

Response

OK

Response object

status
enum<string>

Request status

Available options:
success
org_id
integer

Organization id

Example:

42