Skip to content
TriedDocs
Account

Delete SSO configuration

Remove the workspace's OpenID Connect single sign-on configuration.

DELETEhttps://api.tried.com.au/workspace/sso

Deletes the workspace's OIDC SSO configuration. Existing members keep their membership and can sign in another way. Admin only.

Request#

This endpoint takes no path, query or body parameters.

Example request#

curl -X DELETE https://api.tried.com.au/workspace/sso \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/workspace/sso", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
console.log(res.status); // 204
import os, requests

res = requests.delete(
    "https://api.tried.com.au/workspace/sso",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
print(res.status_code)  # 204

Response#

204 No Content

The response has no body.

Errors#

Status When
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the admin scope. A dashboard user without the right role gets Requires role: admin. API keys act as admin.
404 SSO is not configured.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.