Skip to content

Remove a domain

DELETE
/v1/companies/{id}/sso/domains/{domain}
curl --request DELETE \
--url https://beta-api.plune.ai/v1/companies/example/sso/domains/example \
--cookie plune_session=<plune_session>

Owner only. Removing the last verified domain switches single sign-on off (and the requirement with it). 20 a minute a person.

id
required
string
domain
required
string

Removed

No / invalid session

The company does not have the saml option (code: tier_option_required, option: saml): a Team plan with the option, or Enterprise. Also: the caller is not the owner (or, for the read, a manager)

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

No such company, or the domain is not in its list

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