Create User
Operation ID: createUser
Create a storage user in the storage tenant. The platform decides whether to adopt the cd_user_id in request body as canonical ID. This means the platform could generate new user_id by itself for the new user. The user_id in request body is ignored.
The ID of the storage tenant to which the creating user belongs
Storage user to create in the storage tenant. canonical_user_id is ignored.
{
"user_id": "rachelw",
"canonical_user_id": "68fb0f20-4a0c-4036-a584-cc3ee421093f",
"tenant_id": "bb8287a9-874e-46d2-abbd-58278e1ac046",
"active": false,
"username": "string",
"email": "rachelw@acme.com",
"role": "string",
"cd_user_id": "rachelw",
"cd_tenant_id": "40b97e3c-c3b1-4251-b7de-e9637324683f"
}
user id
canonical user id
ID of the storage tenant which the user belongs to
user status
username mapped with Cloud Director username
user email
user role
Cloud Director user id
id of Cloud Director tenant which the user belongs to
A storage user is created
{
"user_id": "rachelw",
"canonical_user_id": "68fb0f20-4a0c-4036-a584-cc3ee421093f",
"tenant_id": "bb8287a9-874e-46d2-abbd-58278e1ac046",
"active": false,
"username": "string",
"email": "rachelw@acme.com",
"role": "string",
"cd_user_id": "rachelw",
"cd_tenant_id": "40b97e3c-c3b1-4251-b7de-e9637324683f"
}
user id
canonical user id
ID of the storage tenant which the user belongs to
user status
username mapped with Cloud Director username
user email
user role
Cloud Director user id
id of Cloud Director tenant which the user belongs to
Bad Request
{
"code": "E_BAD_REQUEST",
"message": "invalid value for the property xyz."
}
code
message