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_organizations": [
{
"organization_id": "<string>",
"assign_membership_on_login": true,
"show_as_button": true
}
],
"ttl_sec": 216000,
"provisioning_config": {
"scopes": [],
"token_lifetime": 901
},
"use_for_organization_discovery": true,
"enabled_features": {
"sso": true,
"domain_verification": true,
"provisioning": true
}
}
'