Skip to main content
DELETE
/
api
/
v1
/
business
/
members
/
{userId}
Remove a member from the active business
curl --request DELETE \
  --url http://localhost:3001/api/v1/business/members/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "email must be an email",
    "statusCode": 400,
    "errors": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Axra-Business-Id
string

Active business context

Path Parameters

userId
string
required

Response

Bad request

success
boolean
required
Example:

false

error
object
required