POST/users/{userId}/link-to-line
Grants a member permission to chat with LINE users.
If chatting with external users is disabled for the domain, it becomes enabled. Go to Service > Message > Chat with External Users in the LINE WORKS Admin to check the relevant option. This API operation will not work if Permissions under Service > Message > Chat with External Users is set to Grant to all members in the LINE WORKS Admin; if the company name or member name includes an emoji or a prohibited keyword("line"); if the permission is being granted or deleted.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
user
| Parameter | Type | Description |
|---|---|---|
| userId | string | Member ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
Accepted
No Content
Bad Request
Forbidden
Not Found