200Successful Response
Schema: app__core__success__MessageResponse
successbooleanmessagestringcodestring
/api/v1/users/{user_id}Permanently delete a user and all their business associations. Requires a JSON body with 'confirm_password' — the calling user's own account password.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
user_idstring · uuidrequiredSchema: UserDeleteRequest
confirm_passwordstring · passwordrequiredThe calling user's own account password, retyped at the moment of the request. Verified against Clerk before anything is deleted; a wrong password rejects the request with 403 and changes nothing.
Schema: app__core__success__MessageResponse
successbooleanmessagestringcodestringSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject