Create an identity mapping group.
POST
/api/admin/field-mapping/groups
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/field-mapping/groups \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "groupKey": "engineering", "displayName": "Engineering" }'Creates a tenant-scoped group used by identity mapping and provisioning workflows. The response is wrapped as { result } by the field-mapping mutation layer.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” Idempotency-Key
string
Idempotency key for state-changing operations that support replay protection.
Request Body required
Section titled “Request Body required ” Media type application/json
object
groupKey
required
string
displayName
required
string
description
string
parentGroupId
string | null
metadata
object
key
additional properties
key
additional properties
Example
{ "groupKey": "engineering", "displayName": "Engineering"}Responses
Section titled “ Responses ”Group mutation response.
Media type application/json
object
result
required
object
id
required
string
tenantId
required
string
groupKey
required
string
displayName
required
string
key
additional properties
key
additional properties
Example generated
{ "result": { "id": "example", "tenantId": "example", "groupKey": "example", "displayName": "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"}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"}