Assign business to firm

POST/api/v1/advisory-firms/{firm_id}/businesses

Assign a business to an advisory firm.

The caller must administer both the firm (owner/admin) and the business being linked. The business-side check prevents a firm admin from attaching an arbitrary business by ID and inheriting cross-tenant access to its data (IDOR).

Operation ID: assign_business_to_firm_api_v1_advisory_firms__firm_id__businesses_post·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

business_idstringrequired
notesstring

Responses

201Successful Response

successboolean
messagestring
codestring
dataBusinessFirmAssociationResponse

422Validation Error

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