POST/users/{userId}/unlink-to-line

Deletes a member's permission to chat with LINE users.

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.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

user

HTTP Request

POSThttps://www.worksapis.com/v1.0/users/{userId}/unlink-to-line

Path Parameters

ParameterTypeDescription
userId string 

Member ID
- Email address
- Resource ID
- External key in "externalKey:{externalKey}" format


required
example : userf7da-f82c-4284-13e7-030f3b4c756x 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 202

Accepted

HTTP 204

No Content

HTTP 403

Forbidden

HTTP 404

Not Found