201Successful Response
Schema: SuccessEnvelope_AccountingPeriodResponse_
successbooleanmessagestringcodestringdataAccountingPeriodResponse
/api/v1/accounting-periods/{period_id}/lockLock a closed period (stronger protection than close).
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
period_idstringrequiredSchema: SuccessEnvelope_AccountingPeriodResponse_
successbooleanmessagestringcodestringdataAccountingPeriodResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject