> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-docs-google-workspace-action-examples.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete

> Delete soft-deletes an AuthZEN server and cascades its minted
 entitlement stack. Evaluation and search 404 immediately; discovery is
 static URL templating and deliberately never reads the database, so it
 keeps answering for any well-formed path.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples delete /api/v1/apps/{app_id}/authzen_servers/{id}
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/apps/{app_id}/authzen_servers/{id}:
    delete:
      tags:
        - AuthZEN Servers
      summary: Delete
      description: |-
        Delete soft-deletes an AuthZEN server and cascades its minted
         entitlement stack. Evaluation and search 404 immediately; discovery is
         static URL templating and deliberately never reads the database, so it
         keeps answering for any well-formed path.
      operationId: c1.api.authzen.v1.AuthzenServerService.Delete
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            description: App identifier.
            type: string
        - in: path
          name: id
          required: true
          schema:
            description: Server identifier.
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/c1.api.authzen.v1.AuthzenServerServiceDeleteRequestInput
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/c1.api.authzen.v1.AuthzenServerServiceDeleteResponse
          description: |-
            AuthzenServerServiceDeleteResponse confirms deletion. The server's
             entitlement stack cascade-deletes; a replacement server mints an all-new
             stack.
components:
  schemas:
    c1.api.authzen.v1.AuthzenServerServiceDeleteRequestInput:
      description: AuthzenServerServiceDeleteRequest deletes the AuthZEN server for an app.
      title: Authzen Server Service Delete Request
      type: object
      x-speakeasy-name-override: AuthzenServerServiceDeleteRequest
    c1.api.authzen.v1.AuthzenServerServiceDeleteResponse:
      description: |-
        AuthzenServerServiceDeleteResponse confirms deletion. The server's
         entitlement stack cascade-deletes; a replacement server mints an all-new
         stack.
      title: Authzen Server Service Delete Response
      type: object
      x-speakeasy-name-override: AuthzenServerServiceDeleteResponse
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````