SSO Administration
14 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
List SAML connections#
GET
/organizations/sso/connectionsTokenAntworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/organizations/sso/connections" \
-H "Authorization: Bearer $XISUITE_TOKEN"Create a SAML connection#
POST
/organizations/sso/connectionsTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
display_namePflicht | string | |
idp_entity_idPflicht | string | IdP Entity ID (the SAML Issuer) |
idp_sso_urlPflicht | string | IdP single sign-on URL |
idp_certsPflicht | string[] | IdP signing certificates as PEM, with or without BEGIN/END lines |
is_enabled | boolean | |
jit_enabled | boolean | Create accounts and memberships on first SSO login |
Antworten
- 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/organizations/sso/connections" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"display_name":"Microsoft Entra ID","idp_entity_id":"https://sts.windows.net/00000000-0000-0000-0000-000000000000/","idp_sso_url":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/saml2","idp_certs":[]}'Update a SAML connection#
PATCH
/organizations/sso/connections/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
display_name | string | |
idp_entity_id | string | IdP Entity ID (the SAML Issuer) |
idp_sso_url | string | IdP single sign-on URL |
idp_certs | string[] | IdP signing certificates as PEM, with or without BEGIN/END lines |
is_enabled | boolean | |
jit_enabled | boolean | Create accounts and memberships on first SSO login |
Antworten
- 200OK
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/organizations/sso/connections/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"display_name":"Microsoft Entra ID","idp_entity_id":"https://sts.windows.net/00000000-0000-0000-0000-000000000000/","idp_sso_url":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/saml2"}'Delete a SAML connection#
DELETE
/organizations/sso/connections/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/organizations/sso/connections/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN"List SSO email domains#
GET
/organizations/sso/domainsTokenAntworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/organizations/sso/domains" \
-H "Authorization: Bearer $XISUITE_TOKEN"Add an SSO email domain#
POST
/organizations/sso/domainsTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
domainPflicht | string | |
connection_id | object (uuid) | – |
Antworten
- 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/organizations/sso/domains" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domain":"example.com"}'Bind or unbind a domain to a connection#
PATCH
/organizations/sso/domains/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
connection_idPflicht | object (uuid) | Connection allowed to sign in this domain, or null to unbind |
Antworten
- 200OK
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/organizations/sso/domains/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"connection_id":"…"}'Remove an SSO email domain#
DELETE
/organizations/sso/domains/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/organizations/sso/domains/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Verify domain ownership through its DNS TXT record#
POST
/organizations/sso/domains/{id}/verifyTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/organizations/sso/domains/{id}/verify" \
-H "Authorization: Bearer $XISUITE_TOKEN"List SCIM tokens#
GET
/organizations/sso/scim-tokensTokenAntworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/organizations/sso/scim-tokens" \
-H "Authorization: Bearer $XISUITE_TOKEN"Create a SCIM token (plaintext returned once)#
POST
/organizations/sso/scim-tokensTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
labelPflicht | string |
Antworten
- 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/organizations/sso/scim-tokens" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"label":"Microsoft Entra ID provisioning"}'Revoke a SCIM token#
DELETE
/organizations/sso/scim-tokens/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/organizations/sso/scim-tokens/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Get Require SSO and the SCIM base URL#
GET
/organizations/sso/settingsTokenAntworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/organizations/sso/settings" \
-H "Authorization: Bearer $XISUITE_TOKEN"Switch Require SSO on or off#
PATCH
/organizations/sso/settingsTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
require_ssoPflicht | boolean | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/organizations/sso/settings" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"require_sso":true}'