201Successful Response
Schema: SuccessEnvelope_ManagerialKeyTypeResponse_
successbooleanmessagestringcodestringdataManagerialKeyTypeResponse
/api/v1/businesses/{business_id}/managerial-key-mappings/key-typesAdd a new key type (a column of the mapping table). The key is a lowercase slug and must be unique within the business.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredSchema: ManagerialKeyTypeCreateRequest
keystringrequiredStable slug used in the API (lowercase, digits, underscores).
labelstringrequireddescriptionstringsort_orderintegerSchema: SuccessEnvelope_ManagerialKeyTypeResponse_
successbooleanmessagestringcodestringdataManagerialKeyTypeResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject