API ReferenceMembers
Remove a member
DELETE
The member loses access at once. Nobody may remove themselves; an agent's remove_member asks for a confirm token first.
Requires the members:write scope — Add and remove project members and change their roles.
cookie
better-auth.session_token<token>BetterAuth session cookie. Used by the dashboard / browser clients. When present, the active project is taken from the x-project-id header.
id*stringProject id.
userId*stringThe member's user id, from listMembers.
OK
application/json- response
success*trueValue in
truedata*curl -X DELETE 'https://api.sendly.now/api/projects/string/members/string'Example Response
{ "success": true, "data": { "message": "string" }}