API

Delete member

DELETEhttps://api.visitors.now/v1/members/:userId

Removes a member from the project. You cannot remove yourself or other owners.

Request

index.ts
const res = await fetch("https://api.visitors.now/v1/members/USER_ID", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${VISITORS_API_KEY}` },
});

Response

{
  "success": true
}