{
"type": "object",
"description": "Request body for creating or updating a user.",
"properties": {
"email": {
"type": "string",
"description": "The email address of the user. Used as the login identifier.",
"format": "email",
"example": "[email protected]"
},
"firstName": {
"type": "string",
"description": "The first name of the user.",
"example": "Production Service"
},
"lastName": {
"type": "string",
"description": "The last name of the user.",
"example": "Production Service"
},
"groups": {
"type": "array",
"description": "The list of group IDs to assign the user to. The user gains all permissions associated with these groups.",
"example": [
"example-value"
],
"items": {
"type": "string"
}
}
},
"required": [
"email",
"firstName",
"lastName"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "UserCreateRequest"
}