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) | Required/Optional | Data Type | Description |
---|---|---|---|---|
orgId | Query | Required | String | The ID of the OU to which the SSO user belongs to. How to get orgId>> |
Request Parameters (Body)¶
Name | Required/Optional | Data Type | Description |
---|---|---|---|
domain | Required | String | The name of the configured SSO identity provider. |
userName | Required | String | The name of the SSO user. |
Required | 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
}