201Successful Response
Schema: SuccessEnvelope_BusinessFirmAssociationResponse_
successbooleanmessagestringcodestringdataBusinessFirmAssociationResponse
/api/v1/advisory-firms/{firm_id}/businessesAssign 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).
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
firm_idstringrequiredSchema: BusinessFirmAssociationCreateRequest
business_idstringrequirednotesstringSchema: SuccessEnvelope_BusinessFirmAssociationResponse_
successbooleanmessagestringcodestringdataBusinessFirmAssociationResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject