Membuat pengguna.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:CreateUser |
create |
*User
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
ID Direktori CloudSSO. |
d-00fc2p61**** |
| UserName |
string |
Yes |
Nama pengguna. Nama pengguna harus unik dalam direktori dan tidak dapat diubah. Nama pengguna dapat berisi angka, huruf, dan karakter khusus berikut: Nama pengguna dapat berisi hingga 64 karakter. |
Alice |
| FirstName |
string |
No |
Nama depan pengguna. Nama depan dapat berisi hingga 64 karakter. |
Alice |
| LastName |
string |
No |
Nama belakang pengguna. Nama belakang dapat berisi hingga 64 karakter. |
Lee |
| DisplayName |
string |
No |
Nama tampilan pengguna. Nama tampilan dapat berisi hingga 256 karakter. |
Alice |
| Description |
string |
No |
Deskripsi pengguna. Deskripsi dapat berisi hingga 1.024 karakter. |
This is a user. |
|
string |
No |
Alamat email pengguna. Alamat email harus unik dalam direktori. Alamat email dapat berisi hingga 128 karakter. |
Alice@example.com |
|
| Status |
string |
No |
Status pengguna. Nilai valid:
|
Enabled |
| Tags |
array<object> |
No |
Tag. |
|
|
object |
No |
The tag. |
||
| Value |
string |
No |
The tag value. |
|
| Key |
string |
No |
The tag key. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| User |
object |
The details of the user. |
|
| Status |
string |
The status of the user. Valid values:
|
Enabled |
| UserName |
string |
The username. |
Alice |
|
string |
The email address of the user. |
Alice@example.com |
|
| Description |
string |
The description of the user. |
This is a user. |
| UserId |
string |
The user ID. |
u-00q8wbq42wiltcrk**** |
| FirstName |
string |
The first name of the user. |
Alice |
| CreateTime |
string |
The time when the user was created. The time is displayed in ISO 8601 format in UTC. |
2021-10-26T03:03:42Z |
| ProvisionType |
string |
The provisioning type of the user. Valid values:
|
Manual |
| DisplayName |
string |
The display name of the user. |
Alice |
| UpdateTime |
string |
The time when the user was last modified. The time is displayed in ISO 8601 format in UTC. |
2021-10-26T03:03:42Z |
| LastName |
string |
The last name of the user. |
Lee |
| Tags |
array<object> |
The tags. |
|
|
object |
The tag. |
||
| Value |
string |
The tag value. |
|
| Key |
string |
The tag key. |
|
| RequestId |
string |
The request ID. |
F6F90F3D-4502-5877-B80B-97476F6AE2CC |
Contoh
Respons sukses
JSONformat
{
"User": {
"Status": "Enabled",
"UserName": "Alice",
"Email": "Alice@example.com",
"Description": "This is a user.",
"UserId": "u-00q8wbq42wiltcrk****",
"FirstName": "Alice",
"CreateTime": "2021-10-26T03:03:42Z",
"ProvisionType": "Manual",
"DisplayName": "Alice",
"UpdateTime": "2021-10-26T03:03:42Z",
"LastName": "Lee",
"Tags": [
{
"Value": "",
"Key": ""
}
]
},
"RequestId": "F6F90F3D-4502-5877-B80B-97476F6AE2CC"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.