List organization domain mappings for an organization.
GET
/api/admin/organizations/{org_id}/domain-mappings
Code sample: Shell / cURL
curl --request GET \ --url 'https://auth.example.com/api/admin/organizations/example/domain-mappings?limit=50&offset=0' \ --header 'Authorization: Bearer <token>'Verifies the organization belongs to the current tenant, then lists its email-domain mappings with limit and offset pagination.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” org_id
required
string
Query Parameters
Section titled “Query Parameters ” limit
integer
Maximum mappings to return.
offset
integer
Offset for list pagination.
Responses
Section titled “ Responses ”Organization domain mapping list response.
Media type application/json
object
mappings
required
Array<object>
object
id
required
string
tenant_id
required
string
domain_hash
required
string
domain_hash_version
required
integer
org_id
required
string
auto_join_enabled
required
boolean
membership_type
required
string
auto_assign_role_id
string
verified
required
boolean
priority
required
integer
is_active
required
boolean
created_at
required
integer format: int64
updated_at
required
integer format: int64
key
additional properties
total
required
integer
limit
required
integer
offset
required
integer
key
additional properties
Example
{ "mappings": [ { "membership_type": "member" } ]}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}