Get an organization domain mapping.
GET
/api/admin/org-domain-mappings/{id}
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/admin/org-domain-mappings/example \ --header 'Authorization: Bearer <token>'Returns one tenant-scoped organization domain mapping by id. Domain hashes are returned according to the mapping formatter, not the raw source domain.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”Organization domain mapping response.
Media type application/json
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
Example
{ "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"}