Create new customer user.

To save customer user details in the system.

SecurityoAuth2
Request
path Parameters
customerId
required
string

Customer Unique Identifier and which is associated with the token legal entity.

Example: 103
Request Body schema: application/json
required

Create User Request fields

loginId
required
string

Unique identifier. Only characters, numbers and special characters are allowed.

firstName
required
string

User first name. Only characters are allowed.

lastName
required
string

Last name of user. Only characters are allowed.

email
required
string

The valid users emailId"

phoneNumber
string

User contact number. Only digits are allowed.

roleNames
required
Array of strings

Valid role names, which is associated with the requested legal entity.

Array of objects (Applications)

Application limits are optional. If provided, they must be valid and associated with the specified roles.

Responses
200

OK

400

Bad request

401

You are not authorized to access the resource

403

Accessing the resource you were trying to reach is forbidden

404

The resource you were trying to reach is not found

500

Internal server error

503

Service unavailable

default

Save user details

post/api/user-management/v1/customers/{customerId}/users
Request samples
application/json
{
  • "loginId": "user123",
  • "firstName": "John",
  • "lastName": "Cane.",
  • "email": "user123@gamil.com",
  • "phoneNumber": "9389989658",
  • "roleNames": [
    ],
  • "applicationLimits": [
    ]
}
Response samples
application/json
{
  • "userId": "f37f6757-c546-42d4-8235-5965419b495d.",
  • "message": "<Reason>"
}