200Successful Response
Schema: SuccessEnvelope_ManagerialKeyTypeDeleteResponse_
successbooleanmessagestringcodestringdataManagerialKeyTypeDeleteResponse
/api/v1/businesses/{business_id}/managerial-key-mappings/key-types/{key}Remove a key type. Refused while the key still has ledger mappings unless force=true, which deletes those mappings too. Built-in defaults are deactivated rather than removed.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredkeystringrequiredforcebooleandefault: FalseAlso delete this key type's ledger mappings.
Schema: SuccessEnvelope_ManagerialKeyTypeDeleteResponse_
successbooleanmessagestringcodestringdataManagerialKeyTypeDeleteResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject