Skip to main content
DELETE
/
api
/
v1
/
organizations
/
{id}
/
members
/
{userId}
Remove organization member
const options = {method: 'DELETE'};

fetch('http://localhost:8000/api/v1/organizations/{id}/members/{userId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": null,
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Path Parameters

id
string
required
Minimum string length: 1
userId
string
required
Minimum string length: 1

Response

Member removed successfully

success
enum<boolean>
required
Available options:
true
data
unknown
required
meta
object
required