200Successful Response
Schema: SuccessEnvelope_CustomBucketResponse_
successbooleanmessagestringcodestringdataCustomBucketResponse
/api/v1/businesses/{business_id}/cfo-portal/buckets/{bucket_key}Update a managerial bucket.
Built-in buckets accept label and color only (display
overrides). Custom buckets accept any field included in the body.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredbucket_keystringrequiredSchema: CustomBucketUpdateRequest
labelstringDisplay name for the bucket
colorstringColor theme: green, orange, indigo, accent, gray
classificationstringBucket classification: operating_revenue, cogs, operating_expense, other_income, other_expense
sort_orderintegeris_activebooleanSchema: SuccessEnvelope_CustomBucketResponse_
successbooleanmessagestringcodestringdataCustomBucketResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject