Get a custom claim schema.
GET
/api/admin/custom-claims/{id}
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/admin/custom-claims/example \ --header 'Authorization: Bearer <token>'Returns a custom claim schema with approximate user-count metadata.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Custom claim schema identifier.
Responses
Section titled “ Responses ”Custom claim schema detail response.
Media type application/json
object
schema
required
object
id
required
string
tenant_id
required
string
field_key
required
string
display_label
required
string
field_type
required
string
is_pii
required
integer
is_required
integer
is_active
required
integer
operation_status
string
field_usage_bindings
Array<object>
object
key
additional properties
created_at
required
integer format: int64
updated_at
required
integer format: int64
key
additional properties
user_count
required
integer
user_count_approximate
required
boolean
key
additional properties
Example
{ "schema": { "field_type": "string", "is_pii": 0, "is_required": 0, "is_active": 0, "operation_status": "active" }}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"}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"}