> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Service Account

> Deletes the service account associated with the specified client ID.



## OpenAPI

````yaml DELETE /api/v1/organizations/{org_id}/service-accounts/{client_id}
openapi: 3.1.0
info:
  title: Organization Management API
  version: 1.0.0
servers:
  - url: https://anaconda.com
    description: Anaconda Cloud
security: []
paths:
  /api/v1/organizations/{org_id}/service-accounts/{client_id}:
    delete:
      tags:
        - organizations
      summary: Delete Service Account
      description: Deletes the service account associated with the specified client ID.
      operationId: delete_service_account
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
          description: >-
            Your organization ID, found in your organization's URL:
            `anaconda.com/app/organizations/<ORG_ID>/`.
        - name: client_id
          in: path
          required: true
          schema:
            type: string
          description: The client ID of the service account to delete.
      responses:
        '204':
          description: Service account deleted successfully
        '404':
          description: Service account not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - Organization Admin: []
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetails'
    HTTPValidationError:
      type: object
      properties:
        detail:
          type: array
          description: A list of validation errors.
          items:
            $ref: '#/components/schemas/ValidationError'
    ErrorDetails:
      type: object
      required:
        - message
        - code
      properties:
        message:
          type: string
          description: A human-readable error message.
        code:
          type: string
          description: An error code identifying the type of error.
        data:
          description: Additional error context, if available.
    ValidationError:
      type: object
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          type: array
          items:
            type: string
          description: >-
            The location of the validation error (for example, `["body",
            "name"]`).
        msg:
          type: string
          description: A human-readable validation error message.
        type:
          type: string
          description: The type of validation error.
  securitySchemes:
    Organization Admin:
      bearerFormat: JWT
      description: >-
        Bearer token obtained by authenticating with your organization admin's
        email and password (`grant_type=password`).


        See the [Getting
        started](/anaconda-platform/admin/org-management-api/org-management-api)
        page for the full authentication flow.
      scheme: bearer
      type: http

````