Skip to content
DELETE /sso-connection/{id}

Delete an SSO connection permanently.

Path Parameters

idstring · uuid
required·

The ID of the SSO connection you want to delete.

Example: 1ba1f401-7183-47c5-9e39-e8e257e3c795

Response Body

successboolean
Example: true

Errors

StatusDescription
403Forbidden if the user is not an admin of the connection's team. API tokens are never team admins, so they always get 403.
404Not found if no SSO connection with that ID
curl -X DELETE 'https://api.truto.one/sso-connection/{id}' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/sso-connection/{id}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/sso-connection/{id}"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.delete(url, headers=headers, params=params)
print(response.json())