Skip to content
TriedDocs
Account

Delete SCIM token

Revoke the SCIM token and turn SCIM provisioning off.

DELETEhttps://api.tried.com.au/workspace/scim-token

Revokes the SCIM token. Requests to /scim/v2 with it then return 401. Users and groups that were already provisioned stay. Admin only.

Request#

This endpoint takes no path, query or body parameters.

Example request#

curl -X DELETE https://api.tried.com.au/workspace/scim-token \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/workspace/scim-token", {
  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/scim-token",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
print(res.status_code)  # 204

Response#

204 No Content

The response has no body. The call succeeds even when no token exists.

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.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.