Remove workspace member
curl --request DELETE \
--url https://api.memcontext.in/api/workspaces/{workspaceId}/members/{memberId} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.memcontext.in/api/workspaces/{workspaceId}/members/{memberId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.memcontext.in/api/workspaces/{workspaceId}/members/{memberId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true
}Workspaces
Remove workspace member
DELETE
https://api.memcontext.in
/
api
/
workspaces
/
{workspaceId}
/
members
/
{memberId}
Remove workspace member
curl --request DELETE \
--url https://api.memcontext.in/api/workspaces/{workspaceId}/members/{memberId} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.memcontext.in/api/workspaces/{workspaceId}/members/{memberId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.memcontext.in/api/workspaces/{workspaceId}/members/{memberId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true
}Authorizations
ApiKeyAuthCookieAuth
API key created from the MemContext dashboard. Keys are prefixed with mc_, bound to one workspace, and API-key requests cannot override that workspace.
Response
200 - application/json
Member removed.
