Sso API
6 operations. Back to the API overview. Examples use synthetic data.
Get s s o
GET /admin/v1/sso
Needs the permission: users:write.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
allowed_kinds | array of string | optional | - |
changed_at | string (date-time) | optional | - |
changed_by | string | optional | - |
connection | object (SsoConnection) | optional | Connection is the non-secret connection configuration (stored as JSON; shown in the console). Secrets travel separately (Secrets). |
connection.client_id | string | optional | OIDC (microsoft, google, oidc). |
connection.display_name | string | optional | - |
connection.email_attribute | string | optional | - |
connection.group_roles | array of object (SsoGroupRole) | optional | GroupRoles maps IdP groups to roles (Enterprise). Empty: roles are managed per user in the console. |
connection.groups_attribute | string | optional | - |
connection.groups_claim | string | optional | GroupsClaim is the ID token claim carrying groups (default "groups"; Entra app roles: "roles"). |
connection.idp_certificates | array of string | optional | PEM |
connection.idp_entity_id | string | optional | SAML. |
connection.idp_sso_url | string | optional | - |
connection.issuer | string | optional | Issuer is the custom OIDC issuer (oidc); discovery is read from Issuer + /.well-known/openid-configuration. |
connection.kind | string | optional | - |
connection.metadata_url | string | optional | where metadata was read (informational) |
connection.sp_certificate | string | optional | SPCertificate is Velacent Bridge's SP certificate (PEM) published in the SP metadata: IdPs encrypt assertions to it. Its key is a Secret. |
connection.tenant_ids | array of string | optional | TenantIDs are the customer's Entra tenant IDs (microsoft). |
customer_domains | array of string | optional | - |
edition | string | optional | - |
enabled | boolean | optional | - |
group_mapping_allowed | boolean | optional | - |
has_client_secret | boolean | optional | - |
velacent | map of string | optional | - |
version | integer | optional | - |
{
"allowed_kinds": [
"example"
],
"changed_at": "2026-01-15T14:30:00Z",
"changed_by": "example",
"connection": {
"client_id": "example-id",
"display_name": "example-name",
"email_attribute": "user@example.org",
"group_roles": [
{
"group": "example",
"role": "example"
}
],
"groups_attribute": "example",
"groups_claim": "example",
"idp_certificates": [
"example"
],
"idp_entity_id": "example-id",
"idp_sso_url": "https://example.org/resource",
"issuer": "example",
"kind": "example",
"metadata_url": "https://example.org/resource",
"sp_certificate": "example",
"tenant_ids": [
"example"
]
},
"customer_domains": [
"example"
],
"edition": "example",
"enabled": true,
"group_mapping_allowed": true,
"has_client_secret": true,
"velacent": {
"example": "example"
},
"version": 1
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/sso"Put s s o connection
PUT /admin/v1/sso/connection
With customer SSO, requires a recent sign-in (re-authentication).
Needs the permission: users:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
client_secret | string | optional | - |
connection | object (SsoConnection) | optional | Connection is the non-secret connection configuration (stored as JSON; shown in the console). Secrets travel separately (Secrets). |
connection.client_id | string | optional | OIDC (microsoft, google, oidc). |
connection.display_name | string | optional | - |
connection.email_attribute | string | optional | - |
connection.group_roles | array of object (SsoGroupRole) | optional | GroupRoles maps IdP groups to roles (Enterprise). Empty: roles are managed per user in the console. |
connection.groups_attribute | string | optional | - |
connection.groups_claim | string | optional | GroupsClaim is the ID token claim carrying groups (default "groups"; Entra app roles: "roles"). |
connection.idp_certificates | array of string | optional | PEM |
connection.idp_entity_id | string | optional | SAML. |
connection.idp_sso_url | string | optional | - |
connection.issuer | string | optional | Issuer is the custom OIDC issuer (oidc); discovery is read from Issuer + /.well-known/openid-configuration. |
connection.kind | string | optional | - |
connection.metadata_url | string | optional | where metadata was read (informational) |
connection.sp_certificate | string | optional | SPCertificate is Velacent Bridge's SP certificate (PEM) published in the SP metadata: IdPs encrypt assertions to it. Its key is a Secret. |
connection.tenant_ids | array of string | optional | TenantIDs are the customer's Entra tenant IDs (microsoft). |
enabled | boolean | optional | - |
reason | string | optional | - |
version | integer | optional | - |
{
"client_secret": "example",
"connection": {
"client_id": "example-id",
"display_name": "example-name",
"email_attribute": "user@example.org",
"group_roles": [
{
"group": "example",
"role": "example"
}
],
"groups_attribute": "example",
"groups_claim": "example",
"idp_certificates": [
"example"
],
"idp_entity_id": "example-id",
"idp_sso_url": "https://example.org/resource",
"issuer": "example",
"kind": "example",
"metadata_url": "https://example.org/resource",
"sp_certificate": "example",
"tenant_ids": [
"example"
]
},
"enabled": true,
"reason": "Example text",
"version": 1
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
enabled | any | optional | - |
version | any | optional | - |
{
"enabled": {},
"version": {}
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request PUT \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"client_secret":"example","connection":{"client_id":"example-id","display_name":"example-name","email_attribute":"user@example.org","group_roles":[{"group":"example","role":"example"}],"groups_attribute":"example","groups_claim":"example","idp_certificates":["example"],"idp_entity_id":"example-id","idp_sso_url":"https://example.org/resource","issuer":"example","kind":"example","metadata_url":"https://example.org/resource","sp_certificate":"example","tenant_ids":["example"]},"enabled":true,"reason":"Example text","version":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/sso/connection"Read id p metadata
POST /admin/v1/sso/metadata
Needs the permission: users:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
url | string | optional | - |
xml | string | optional | - |
{
"url": "https://example.org/resource",
"xml": "example"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
idp_certificates | any | optional | - |
idp_entity_id | any | optional | - |
idp_sso_url | any | optional | - |
metadata_url | any | optional | - |
{
"idp_certificates": {},
"idp_entity_id": {},
"idp_sso_url": {},
"metadata_url": {}
}Other responses
400Bad Request401Authentication required403Not permitted422Unprocessable (invalid configuration or input)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"url":"https://example.org/resource","xml":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/sso/metadata"Detect microsoft tenant
POST /admin/v1/sso/microsoft-tenant
Needs the permission: users:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
domain | string | optional | - |
{
"domain": "example"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
tenant_id | any | optional | - |
{
"tenant_id": {}
}Other responses
400Bad Request401Authentication required403Not permitted422Unprocessable (invalid configuration or input)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"domain":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/sso/microsoft-tenant"Start s s o test
POST /admin/v1/sso/test
Needs the permission: users:write.
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
id | any | optional | - |
url | string | optional | - |
{
"id": {},
"url": "https://example.org/resource"
}Other responses
401Authentication required403Not permitted409Conflict (changed since read, or a state conflict)422Unprocessable (invalid configuration or input)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/sso/test"Sso test result
GET /admin/v1/sso/test/{id}
Needs the permission: users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
{
"status": "ok"
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/sso/test/example-id"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.