201Successful Response
Schema: SuccessEnvelope_AddUserToBusinessResponse_
successbooleanmessagestringcodestringdataAddUserToBusinessResponse
/api/v1/businesses/usersGrant a user access to this business with a specified role.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: BusinessUserAddRequest
idstringrequiredUUID of the user to add.
roleRoleRole: owner, admin, member, or viewer
Schema: SuccessEnvelope_AddUserToBusinessResponse_
successbooleanmessagestringcodestringdataAddUserToBusinessResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject