Skip to content

Complete a connection test

POST
/api/v1/tenants/{tenantId}/identity/providers/test/complete
curl --request POST \
--url https://app.avera.io/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/identity/providers/test/complete \
--header 'Content-Type: application/json' \
--data '{ "code": "example", "state": "example" }'

Authenticated, unlike the login callback: the administrator already has a session, and the verdict is only for the person who started the test.

tenantId
required
string format: uuid
Media typeapplication/json
object
code
required
string
state
required
string

Example generated

{
"code": "example",
"state": "example"
}

OK

Media type*/*
object
success
required
boolean
message
required
string
email
string | null
displayName
string | null
subject
string | null