PUT/Users/{userId}
Updates member information.
This API operation updates only the properties that can be set with the SCIM User API.
Those that cannot be set with the SCIM User API, such as team, job level, position, and visibility remain the same.
To update those properties, you need to use the Admin Console or the LINE WORKS APIs.
Caution
- For the same member, the following API operations must be called in the order they are listed: Add a member, Update a member, Update part of a member, and Deactivate a member.
- Depending on the Manage Fields settings in the LINE WORKS Admin, whether each property is required or updatable may vary.
| Parameter | Type | Description |
|---|---|---|
| userId | integer | Member ID required |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required |
| Property | Type | Description |
|---|---|---|
| schemas | array (string) | Schema URL |
| externalId | stringnull | ID managed by the SCIM client maxLength : 100 |
| userName | string | Account. It is the same as the email address.
maxLength : 90 |
| name | object (name) | |
| nickName | stringnull | Nickname
maxLength : 100 |
| preferredLanguage | string | Language code If this field is not specified adding a member, the language set in the domain is used. Allowed values : ko-KR, ja-JP, en-US, zh-CN, zh-TW |
| timezone | string | If this field is not specified when adding a member, the time zone set in the domain is used. default : Time zone set for the domain |
| active | boolean | Indicates whether the member is active.
This field must be set to true when adding a member. default : true |
| emails | array (ScimUserEmail) | Email information |
| phoneNumbers | array (ScimUserPhoneNumber) | Phone number information |
| ims | array (ScimUserInstantMessage) | Messenger information |
| urn:ietf:params:scim:schemas:extension:works:2.0:User | object (urn:ietf:params:scim:schemas:extension:works:2.0:User) |
| Property | Type | Description |
|---|---|---|
| familyName | stringnull | Last name
maxLength : 80 |
| givenName | stringnull | First name
maxLength : 80 |
| Property | Type | Description |
|---|---|---|
| type | string | Email type
required Allowed values : alias, other |
| primary | boolean | Indicates whether it is primary. default : false |
| value | string |
required |
| Property | Type | Description |
|---|---|---|
| type | string | Phone number type
required Allowed values : work, mobile |
| primary | boolean | Indicates whether it is primary. default : false |
| value | string | Phone number required maxLength : 100 pattern : ^(?=.*[0-9])[0-9+\-*#PTpt()\u3000]{0,100} |
| Property | Type | Description |
|---|---|---|
| type | string | Messenger type required Allowed values : work |
| primary | boolean | Indicates whether it is primary. default : false |
| value | string | Messenger ID required minLength : 1 maxLength : 100 |
| Property | Type | Description |
|---|---|---|
| userExternalKey | stringnull | Member external key. Some special characters, %, , #, /, ? are not allowed. maxLength : 100 |
| Property | Type | Description |
|---|---|---|
| schemas | array (string) | Schema URL required |
| id | string | Member ID readOnly : true |
| externalId | string | ID managed by the SCIM client maxLength : 100 |
| userName | string | Account. It is the same as the email address.
required maxLength : 90 |
| name | object (name) | required |
| displayName | string | Display name readOnly : true |
| nickName | string | Nickname
maxLength : 100 |
| preferredLanguage | string | Language code Allowed values : ko-KR, ja-JP, en-US, zh-CN, zh-TW |
| timezone | string | default : Time zone set for the domain |
| active | boolean | Indicates whether the member is active.
This field must be set to true when adding a member. default : true |
| emails | array (ScimUserEmail) | Email information |
| phoneNumbers | array (ScimUserPhoneNumber) | Phone number information |
| ims | array (ScimUserInstantMessage) | Messenger information |
| urn:ietf:params:scim:schemas:extension:works:2.0:User | object (urn:ietf:params:scim:schemas:extension:works:2.0:User) | |
| meta | object (meta) |
| Property | Type | Description |
|---|---|---|
| familyName | stringnull | Last name
maxLength : 80 |
| givenName | stringnull | First name
maxLength : 80 |
| Property | Type | Description |
|---|---|---|
| type | string | Email type
required Allowed values : alias, other |
| primary | boolean | Indicates whether it is primary. default : false |
| value | string |
required |
| Property | Type | Description |
|---|---|---|
| type | string | Phone number type
required Allowed values : work, mobile |
| primary | boolean | Indicates whether it is primary. default : false |
| value | string | Phone number required maxLength : 100 pattern : ^(?=.*[0-9])[0-9+\-*#PTpt()\u3000]{0,100} |
| Property | Type | Description |
|---|---|---|
| type | string | Messenger type required Allowed values : work |
| primary | boolean | Indicates whether it is primary. default : false |
| value | string | Messenger ID required minLength : 1 maxLength : 100 |
| Property | Type | Description |
|---|---|---|
| userExternalKey | stringnull | Member external key. Some special characters, %, , #, /, ? are not allowed. maxLength : 100 |
| Property | Type | Description |
|---|---|---|
| resourceType | string | Resource type Allowed values : USER, GROUP |
| created | string | Creation date |
| lastModified | string | Last update date |
| location | string | Resource URI |
Bad Request
Not Found
Conflict