Create User
This endpoint is used to create a new user in the system.
Authorized Roles : SYSTEM_ADMIN or INFRA_ADMIN or DSM_ADMIN
Bearer token for authentication (e.g., "Bearer <token>" obtained from /provider/session)
Request body content type (application/json or application/vnd.vmware.dms-v1+json)
Must be application/vnd.vmware.dms-v1+json
Request body containing user details for creation.
{
"email": "string",
"password": "string"
}
Email address of the user
Password for the user. Must contain minimum 8 and maximum 20 characters, at least one uppercase letter, one lowercase letter, one number and one special character (?!@#$%^&*)
User successfully created.
{
"id": 0,
"email": "string",
"links": [
{
"rel": "string",
"href": "string"
}
]
}
Bad request. The provided input data is invalid.
{
"message": "string",
"errorCodes": {
"type": "string"
}
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"email":"string","password":"string"}' https://{api_host}/provider/users