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.
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_idstring required
Responses
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-