DELETE/bots/{botId}/domains/{domainId}/members/{userId}

Deletes an allowed user from a bot's domain.

Caution

  • Users will be notified if a bot is added to a domain under Service > Bot in the LINE WORKS Admin, but they will not if a bot domain is added using the API.
  • The following API operations must not be called as parallel for same bot. Add, Update, Partially update, Delete, Add a domain, Update a domain, Partially update a domain, Delete a domain, Add a bot user, Delete a bot user

Authorization

oauth2

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

Scope

bot

HTTP Request

DELETEhttps://www.worksapis.com/v1.0/bots/{botId}/domains/{domainId}/members/{userId}

Path Parameters

ParameterTypeDescription
botId integer 

Bot ID


required
example : 2000001
format : int64 
domainId integer 

Domain ID


required
example : 10000001
format : int64 
userId string 

User ID


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

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 204

No Content