curl --request POST \
--url https://{tenantDomain}/api/v2/self-service-profiles/{id}/sso-ticket \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"connection_id": "<string>",
"enabled_clients": [
"<string>"
],
"enabled_features": {
"domain_verification": true,
"provisioning": true,
"sso": true
},
"enabled_organizations": [
{
"organization_id": "<string>",
"assign_membership_on_login": true,
"show_as_button": true
}
],
"provisioning_config": {
"scopes": [],
"token_lifetime": 901
},
"ttl_sec": 216000,
"use_for_organization_discovery": true
}
'