Skip to content
Start free in Cloud

Test team SSO connection REST API

POST
/api/user/teams/{id}/sso/test
curl --request POST \
--url http://127.0.0.1:25737/api/user/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sso/test \
--cookie hk_token=<hk_token>

Decrypts the saved client secret in memory and validates that the configured OIDC discovery document remains reachable. Secrets and provider response bodies are not returned.

id
required
string format: uuid

Connection test status

Media typeapplication/json
object
message
string
status
string
Examplegenerated
{
"message": "example",
"status": "example"
}

Team settings permission or SSO entitlement required

Media typeapplication/json
object
message
string
Examplegenerated
{
"message": "example"
}

SSO configuration not found

Media typeapplication/json
object
message
string
Examplegenerated
{
"message": "example"
}

OIDC discovery failed

Media typeapplication/json
object
message
string
Examplegenerated
{
"message": "example"
}