---
id: crypto-certificatekeypairs-destroy
title: "crypto_certificatekeypairs_destroy"
description: "CertificateKeyPair Viewset"
sidebar_label: "crypto_certificatekeypairs_destroy"
hide_title: true
hide_table_of_contents: true
api: eJytVUtv2kAQ/ivWnlqJYkRyqDgVJahCTaKoeVwihNb2gDcs3s3umNay/N874wc4hXCoemK88/q+eVEKY8FJVCabJ2IiYldYNMsYHKqViiXCBgorlfPLBDw6U4iBICl2yrITuVwdbH9AcU+2wbOCXx6QTK10cgsIzovJSykUO1iJKakyUtDXxi7zXCX04OMUtlJMSoGFZRXlU9maNCvjthLppbas/kYwDZ6e5tdBYx6oBDICVLCMqfJBD+AXQhgwxCFFdfCWKwdEG10O1WIgUK4ZZ1sFQS8e4twpLGr0MseUY2/oa8H2Drw1mQfPoMejS/55D+3OBJ1REJmkYPCXoxEbxiZDisaitFYzPvIJXz07lsfVMNErxHhU/mepVVK7BjPnjOOiO24qqgZXZrLlSoFOlsB63wspnZPcUIWw9ceFrwhsbBI4rZFJojit1Pf9fKRBhRreQWuQVdVR65p6XPzHenyHDJyKg+n9/IOCJIBS6ROkzrE9DMtLF2BxYNomPUOTnmgPUsNLloCmlai3gzZhIsJm3sITWxeW7X5UIW8IuF23SrnT7CqtCncXoah6w/rApWq49kZ2zypFtN268XcE0oGrIapsZWrLltfBfSA4c8NmPBpfDr8Ox0e1v5Ub3rrOq+lg4NXWauCN4xbLuG4x9ZJ7IFLQ2nxbm32moTLcCeo/0NLUA9wcitv5I4VoaDMFPwnDtcI0j4ax2Ya9EOFBirSJQkqVhTfzq9ndw6ymaY3Hrcx6wZsOBCc6EHxw93oDe/4EtlVH+I2h1QSF6dU0ynYA9geHKnQMgF4nhyPJU5cSfPYqy0h6eHK6qvj5LQfHh4rEnXRKRtxCmpREeZZp8lZSezjD49PPdso/B/94U0+S7a5NxkXcSZ3zF4nEsPcHUC3INAWZ0Cwy7EY7jWOw2PM7ug08+fvVup7dzB5nZM4j0Jv5dsYHncAJTsKimtYWj2YDGdW1Q4n8zRir6g/8bIAs
sidebar_class_name: "delete api-method"
info_path: docs/developer-docs/api/reference/authentik
custom_edit_url: null
hide_send_button: true
---

import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"crypto_certificatekeypairs_destroy"}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/crypto/certificatekeypairs/{kp_uuid}/"}
>
  
</MethodEndpoint>



CertificateKeyPair Viewset

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<details
  style={{"marginBottom":"1rem"}}
  className={"openapi-markdown__details"}
  data-collapsed={false}
  open={true}
>
  <summary
    style={{}}
  >
    <h3
      className={"openapi-markdown__details-summary-header-params"}
    >
      Path Parameters
    </h3>
  </summary><div>
    <ul>
      <ParamsItem
        className={"paramsItem"}
        param={{"in":"path","name":"kp_uuid","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Certificate-Key Pair.","required":true}}
      >
        
      </ParamsItem>
    </ul>
  </div>
</details><div>
  <div>
    <ApiTabs
      label={undefined}
      id={undefined}
    >
      <TabItem
        label={"204"}
        value={"204"}
      >
        <div>
          
          
          No response body
          
          
        </div><div>
          
        </div>
      </TabItem><TabItem
        label={"400"}
        value={"400"}
      >
        <div>
          
          
          
          
          
        </div><div>
          <MimeTabs
            className={"openapi-tabs__mime"}
            schemaType={"response"}
          >
            <TabItem
              label={"application/json"}
              value={"application/json"}
            >
              <SchemaTabs
                className={"openapi-tabs__schema"}
              >
                <TabItem
                  label={"Schema"}
                  value={"Schema"}
                >
                  <details
                    style={{}}
                    className={"openapi-markdown__details response"}
                    data-collapsed={false}
                    open={true}
                  >
                    <summary
                      style={{}}
                      className={"openapi-markdown__details-summary-response"}
                    >
                      <strong>
                        Schema
                      </strong>
                    </summary><div
                      style={{"textAlign":"left","marginLeft":"1rem"}}
                    >
                      
                    </div><ul
                      style={{"marginLeft":"1rem"}}
                    >
                      <SchemaItem
                        collapsible={false}
                        name={"non_field_errors"}
                        required={false}
                        schemaName={"string[]"}
                        qualifierMessage={undefined}
                        schema={{"type":"array","items":{"type":"string"}}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"code"}
                        required={false}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        name={"property name*"}
                        required={false}
                        schemaName={"any"}
                        qualifierMessage={undefined}
                        schema={{"type":"object","description":"Validation Error","properties":{"non_field_errors":{"type":"array","items":{"type":"string"}},"code":{"type":"string"}},"additionalProperties":{},"title":"ValidationError"}}
                        collapsible={false}
                        discriminator={false}
                      >
                        
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"non_field_errors\": [\n    \"string\"\n  ],\n  \"code\": \"string\"\n}"}
                    language={"json"}
                  >
                    
                  </ResponseSamples>
                </TabItem>
              </SchemaTabs>
            </TabItem>
          </MimeTabs>
        </div>
      </TabItem><TabItem
        label={"403"}
        value={"403"}
      >
        <div>
          
          
          
          
          
        </div><div>
          <MimeTabs
            className={"openapi-tabs__mime"}
            schemaType={"response"}
          >
            <TabItem
              label={"application/json"}
              value={"application/json"}
            >
              <SchemaTabs
                className={"openapi-tabs__schema"}
              >
                <TabItem
                  label={"Schema"}
                  value={"Schema"}
                >
                  <details
                    style={{}}
                    className={"openapi-markdown__details response"}
                    data-collapsed={false}
                    open={true}
                  >
                    <summary
                      style={{}}
                      className={"openapi-markdown__details-summary-response"}
                    >
                      <strong>
                        Schema
                      </strong>
                    </summary><div
                      style={{"textAlign":"left","marginLeft":"1rem"}}
                    >
                      
                    </div><ul
                      style={{"marginLeft":"1rem"}}
                    >
                      <SchemaItem
                        collapsible={false}
                        name={"detail"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"code"}
                        required={false}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"detail\": \"string\",\n  \"code\": \"string\"\n}"}
                    language={"json"}
                  >
                    
                  </ResponseSamples>
                </TabItem>
              </SchemaTabs>
            </TabItem>
          </MimeTabs>
        </div>
      </TabItem>
    </ApiTabs>
  </div>
</div>
      