SSO

Add an SSO email domain

POST
/organizations/{organizationId}/sso/domains

Registers an email domain for DNS TXT verification before it can be used for SSO.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/sso/domains" \  -H "Content-Type: application/json" \  -d '{    "domain": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "domain": "string",  "txtRecordHost": "string",  "txtToken": "string",  "status": "pending",  "verifiedAt": null}