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

# Delete a registry credential



## OpenAPI

````yaml /api-reference/openapi.personal.json delete /v1/orgs/{slug}/registries/{id}
openapi: 3.1.0
info:
  title: Personal token API
  description: User-scoped API for account and organization management.
  version: 0.1.0
servers:
  - url: https://api.microsandbox.dev
security:
  - bearer: []
paths:
  /v1/orgs/{slug}/registries/{id}:
    delete:
      tags:
        - Registry credentials
      summary: Delete a registry credential
      operationId: delete_registry_credential
      parameters:
        - name: slug
          in: path
          description: Organization slug
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Registry credential id
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Credential removed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageResponse'
        '401':
          description: Unauthorized
        '403':
          description: Insufficient permissions
        '404':
          description: Credential not found
      security:
        - bearer: []
components:
  schemas:
    MessageResponse:
      type: object
      description: Simple message response for operations without a body.
      required:
        - message
      properties:
        message:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        Personal access token (msb_pat_…) or session JWT - the credential an
        agent acts with on a user's behalf.

````