# Revoke a credit line Revokes a credit line. Revoking a credit line must be done within 14 days from the issuance date. Endpoint: PUT /v1/persons/{person_id}/credit_lines/{credit_line_id}/revoke Version: 1.0 ## Path parameters: - `person_id` (string, required) The person ID of the customer who has the credit line. - `credit_line_id` (string, required) The unique credit line ID, generated after a credit line is created. ## Response 400 fields (application/json): - `code` (string) Example: "build_pagination_headers_failure" - `detail` (string) Example: "Cannot connect to database." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "400" - `title` (string) Example: "Failed to build pagination headers." ## Response 404 fields (application/json): - `code` (string) Example: "model_not_found" - `detail` (string) Example: "Couldn't find 'Account' for id 'DE24112233445566'." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "404" - `title` (string) Example: "Model Not Found" ## Response 409 fields (application/json): - `title` (string) Example: "Record Not Unique" - `status` (string) Example: "409" - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `detail` (string) Example: "Could not save `terms_and_conditions_event`." - `code` (string) Example: "record_not_unique"