Deletes the workspace's SAML configuration. Existing members keep their membership. Admin only.
Request#
This endpoint takes no path, query or body parameters.
Example request#
curl -X DELETE https://api.tried.com.au/workspace/saml \
-H "Authorization: Bearer $TRIED_API_KEY"const res = await fetch("https://api.tried.com.au/workspace/saml", {
method: "DELETE",
headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
console.log(res.status); // 204import os, requests
res = requests.delete(
"https://api.tried.com.au/workspace/saml",
headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
print(res.status_code) # 204Response#
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 |
SAML is not configured. |
429 |
Rate limit exceeded. See Rate limits. |
See Errors for the body format.