Delete advisory firm

DELETE/api/v1/advisory-firms/{firm_id}

Delete an advisory firm and all associations. Requires a JSON body with 'confirm_password' — the caller's own account password.

Operation ID: delete_firm_api_v1_advisory_firms__firm_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

firm_idstringrequired

Request body

confirm_passwordstring · passwordrequired

The 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.

Responses

200Successful Response

successboolean
messagestring
codestring

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

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