Update SSO User


Update the details of 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/update

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

userId

Required

String

The SSO user ID.

phone

Optional

String

The mobile number of the SSO user.

phoneArea

Optional

String

The country code of the SSO user’s mobile phone number.

userName

Optional

String

The name of the SSO user.

email

Optional

String

The email of the SSO user.

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/update?orgId=yourOrgId
method: POST
request Body:
{
  "userId":"userId359",
  "phone": "",
  "phoneArea": "86",
  "userName": "jane",
  "email":"jane@doe.com"
}

Return Sample

{
  "fail": false,
  "success": true,
  "failed": false,
  "message": "",
  "userId": "userId359",
  "status": 0,
  "successful": true
}