Create a new User representation of an existing bank customer.
POST/users
Create a new User representation of an existing bank customer.
Request
- application/json
Body
required
User details
user
object
required
externalId string
givenName string
familyName string
Responses
- 200
- 400
The created User.
- application/json
- Schema
- Example (from schema)
Schema
user
object
type stringrequired
Possible values: [User
]
id uuidrequired
externalId string
givenName string
familyName string
provisioningInitiatedAt RFC3339
unreadMessagesCount integerrequired
{
"user": {
"type": "User",
"id": "31566c16-c5c4-4ea2-9ec9-4708a2edec2e",
"externalId": "10002345",
"givenName": "Erika",
"familyName": "Mustermann",
"provisioningInitiatedAt": "2006-01-02T15:04:05Z",
"unreadMessagesCount": 2
}
}
Bad request.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
required
field stringrequired
errors string[]required
{
"errors": [
{
"field": "string",
"errors": [
"string"
]
}
]
}
Loading...