Remove a member
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.prudra.dev/organisations/current/members/{accountId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.prudra.dev/organisations/current/members/{accountId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)curl --request DELETE \
--url https://api.prudra.dev/organisations/current/members/{accountId} \
--header 'Authorization: Bearer <token>'Organisation
Remove a member
DELETE
/
organisations
/
current
/
members
/
{accountId}
Remove a member
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.prudra.dev/organisations/current/members/{accountId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.prudra.dev/organisations/current/members/{accountId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)curl --request DELETE \
--url https://api.prudra.dev/organisations/current/members/{accountId} \
--header 'Authorization: Bearer <token>'
