Skip to content

Switch a company’s single-sign-on requirement (or its single sign-on) off

POST
/v1/admin/sso/switch-off
curl --request POST \
--url https://beta-api.plune.ai/v1/admin/sso/switch-off \
--header 'Content-Type: application/json' \
--cookie plune_session=<plune_session> \
--data '{ "companyId": "6f1c2b3a-0000-4000-8000-0000000000a5", "what": "enforcement" }'

The application owner’s way out for a company whose identity provider is gone (operator decision of 17.10.2026), beside the company owner’s own emergency sign-in. what: enforcement ends the requirement; all ends single sign-on too. A row of the company’s log. The owner’s session alone; anyone else is told 404. Ten a minute.

Media type application/json
object
companyId
required
string
what
required

enforcement: no longer required. all: the company’s single sign-on off as well.

string
Allowed values: enforcement all
Example
{
"companyId": "6f1c2b3a-0000-4000-8000-0000000000a5",
"what": "enforcement"
}

Done

Media type application/json
object
ok
boolean
Example generated
{
"ok": true
}

The body is not valid

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Not found, or no single sign-on is set up for the company

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over