Create SSO User¶
Create an SSO user.
Operation Permissions¶
Applications assigned with the administrator policy in the OU.
Request Format¶
POST https://{apigw-address}/enos-iam-service/v2.3/user/sso/create
Request Parameters (URI)¶
Name |
Location (Path/Query) |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|---|
orgId |
Query |
Mandatory |
String |
The ID of the organization to which the SSO user belongs to. How to get orgId>> |
Request Parameters (Body)¶
Name |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
domain |
Mandatory |
String |
The name of the configured SSO identity provider. |
userName |
Mandatory |
String |
The name of the SSO user. |
Mandatory |
String |
The email of the SSO user. |
|
phone |
Optional |
String |
The mobile number of the SSO user. |
phoneArea |
Optional |
String |
The country code of the SSO user’s mobile phone number. |
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
userId |
String |
The SSO user ID. |
Samples¶
Request Sample¶
url: https://{apigw-address}/enos-iam-service/v2.3/user/sso/create?orgId=yourOrgId
method: POST
request Body:
{
"domain":"ssodemo",
"userName": "john",
"email":"john@doe.com",
"phone": "",
"phoneArea": ""
}
Return Sample¶
{
"fail": false,
"success": true,
"failed": false,
"message": "",
"userId": "createdUserId",
"status": 0,
"successful": true
}