Skip to content

Reopen a closed org

POST
/staff/orgs/{orgId}/reopen
curl --request POST \
--url https://api.sloose.com/staff/orgs/org_9f3c/reopen \
--header 'Authorization: Bearer <token>'

Backoffice route: a staff session, or ADMIN_TOKEN. Puts a closed org back in service and stops its purge clock. The connectors stay revoked — an administrator of the org connects again in a click — and the subscription stays cancelled, so the org is Free until it subscribes again. Written down as org.reopen.

orgId
required

The org

string
Example
org_9f3c

The org

Open again.

Media typeapplication/json

A write that carries nothing back.

object
ok
required
boolean
Example
{
"ok": true
}

A bearer that is neither the token nor a live session (code: AUTH_REQUIRED).

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}

A customer’s session, an API token, or no bearer at all — not staff, and not the ADMIN_TOKEN (code: ADMIN_REQUIRED).

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}

No such closed org, or it is not visible to this session.

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}