Email domain mappings
Email domain mappings: 8 operations, tagged email-domain-mappings in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/email-domain-mappings |
List email-domain mappings |
POST |
/api/email-domain-mappings |
Create an email-domain mapping |
GET |
/api/email-domain-mappings/by-domain/{domain} |
Resolve an email domain to its mapping (path param) |
GET |
/api/email-domain-mappings/lookup |
Resolve an email domain to its mapping |
GET |
/api/email-domain-mappings/{id} |
Get an email-domain mapping by id |
PUT |
/api/email-domain-mappings/{id} |
Update an email-domain mapping |
DELETE |
/api/email-domain-mappings/{id} |
Delete an email-domain mapping |
POST |
/api/email-domain-mappings/{id}/move-provider |
Re-point an email domain to a different identity provider |
Operations
Section titled “Operations”GET /api/email-domain-mappings
Section titled “GET /api/email-domain-mappings”List email-domain mappings
Operation ID: listEmailDomainMappings
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json MappingListResponse |
default |
Error | application/json ErrorModel |
POST /api/email-domain-mappings
Section titled “POST /api/email-domain-mappings”Create an email-domain mapping
Operation ID: createEmailDomainMapping
Request body (required)
| Content type | Schema |
|---|---|
application/json |
CreateMappingRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json CreatedResponse |
default |
Error | application/json ErrorModel |
GET /api/email-domain-mappings/by-domain/{domain}
Section titled “GET /api/email-domain-mappings/by-domain/{domain}”Resolve an email domain to its mapping (path param)
Operation ID: getEmailDomainMappingByDomain
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain |
path | string | yes | Email domain to look up (e.g. example.com) |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json MappingResponse |
default |
Error | application/json ErrorModel |
GET /api/email-domain-mappings/lookup
Section titled “GET /api/email-domain-mappings/lookup”Resolve an email domain to its mapping
Operation ID: lookupEmailDomainMapping
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain |
query | string | no | Email domain to look up (e.g. example.com) |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json any |
default |
Error | application/json ErrorModel |
GET /api/email-domain-mappings/{id}
Section titled “GET /api/email-domain-mappings/{id}”Get an email-domain mapping by id
Operation ID: getEmailDomainMapping
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json MappingResponse |
default |
Error | application/json ErrorModel |
PUT /api/email-domain-mappings/{id}
Section titled “PUT /api/email-domain-mappings/{id}”Update an email-domain mapping
Operation ID: updateEmailDomainMapping
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
UpdateMappingRequest |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
DELETE /api/email-domain-mappings/{id}
Section titled “DELETE /api/email-domain-mappings/{id}”Delete an email-domain mapping
Operation ID: deleteEmailDomainMapping
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/email-domain-mappings/{id}/move-provider
Section titled “POST /api/email-domain-mappings/{id}/move-provider”Re-point an email domain to a different identity provider
Operation ID: moveEmailDomainMappingProvider
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
MoveProviderRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json MoveProviderResponse |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”CreatedResponse
Section titled “CreatedResponse”| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes |
CreateMappingRequest
Section titled “CreateMappingRequest”| Field | Type | Required | Description |
|---|---|---|---|
additionalClientIds |
string[] | no | |
allowed2faMethods |
string[] | no | Permitted 2FA methods (TOTP, EMAIL_PIN). ≥1 required when require2fa is set. |
emailDomain |
string | yes | DNS-like email domain (e.g. example.com) |
grantedClientIds |
string[] | no | |
identityProviderId |
string | yes | |
primaryClientId |
string | no | |
rememberDeviceDays |
integer (int64) | no | |
rememberDeviceEnabled |
boolean | no | |
require2fa |
boolean | no | |
requiredOidcTenantId |
string | no | |
scopeType |
string | yes | Scope of mapping (ANCHOR, PARTNER, CLIENT) |
MappingListResponse
Section titled “MappingListResponse”| Field | Type | Required | Description |
|---|---|---|---|
mappings |
MappingResponse[] |
yes | |
total |
integer (int64) | yes |
MappingResponse
Section titled “MappingResponse”| Field | Type | Required | Description |
|---|---|---|---|
additionalClientIds |
string[] | yes | |
allowed2faMethods |
string[] | yes | |
createdAt |
string (date-time) | yes | |
emailDomain |
string | yes | |
grantedClientIds |
string[] | yes | |
id |
string | yes | |
identityProviderId |
string | yes | |
identityProviderName |
string | no | |
primaryClientId |
string | no | |
rememberDeviceDays |
integer (int64) | yes | |
rememberDeviceEnabled |
boolean | yes | |
require2fa |
boolean | yes | |
requiredOidcTenantId |
string | no | |
scopeType |
string | yes | |
updatedAt |
string (date-time) | yes |
MoveProviderRequest
Section titled “MoveProviderRequest”| Field | Type | Required | Description |
|---|---|---|---|
identityProviderId |
string | yes | Target identity provider id |
MoveProviderResponse
Section titled “MoveProviderResponse”| Field | Type | Required | Description |
|---|---|---|---|
emailDomain |
string | yes | |
fromIdentityProviderId |
string | yes | |
mappingId |
string | yes | |
toIdentityProviderId |
string | yes | |
usersReset |
integer (int64) | yes | OIDC-provisioned users converted back to internal auth (0 when moving to an OIDC provider) |
UpdateMappingRequest
Section titled “UpdateMappingRequest”| Field | Type | Required | Description |
|---|---|---|---|
additionalClientIds |
string[] | no | |
allowed2faMethods |
string[] | no | |
grantedClientIds |
string[] | no | |
primaryClientId |
string | no | |
rememberDeviceDays |
integer (int64) | no | |
rememberDeviceEnabled |
boolean | no | |
require2fa |
boolean | no | |
requiredOidcTenantId |
string | no |