Remove user from business

DELETE/api/v1/businesses/users/{user_id}

Remove a user from a specific business.

IMPORTANT: This endpoint removes the user-business association ONLY. The user record itself remains in the database and can still be associated with other businesses.

To completely delete a user from the system, use DELETE /users/{user_id} instead.

Operation ID: remove_user_from_business_api_v1_businesses_users__user_id__delete·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

user_idstringrequired

Responses

200Successful Response

successboolean
messagestring
codestring

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject