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

# Delete credentials

> Permanently delete a stored Transparenzregister credential set. The freed slot counts toward
the account's credential limit again. Completed extracts stay retrievable. Polling an extract
that is still processing under this name returns `409` until credentials are stored under
the same name again.


## Delete stored Transparenzregister credentials

Permanently deletes one stored credential set, including its encrypted password. The freed slot counts toward your account's credential limit again.

**Cost:** 0 credits

### Name

Pass the `name` the set was stored under (`default` if you stored it without a name), for example `DELETE /v1/transparenzregister/credentials/client_a`. Names only contain letters, digits, `_` and `-`, so they go into the URL as they are. The reserved name `sandbox` cannot be deleted and returns `400`. An unknown name returns `404`.

Deleting works on every plan and does not need any remaining credits, so you can remove stored passwords after leaving a paid plan.

### Effect on extracts

* **Completed extracts** stay retrievable. Their report and documents do not need the credentials anymore.
* **Extracts still processing** under this name return `409` when polled. Store credentials under the same name again to resume polling.

> [!WARNING]
>
> Deletion cannot be undone. To order extracts with this name again, [store the credentials](https://docs.openregister.de/endpoint/transparenzregister-credentials.md) again.

### Use Cases

**Offboarding a client**: When a client leaves, delete their credential set so their Transparenzregister login is no longer stored with us.

**Freeing a slot**: Storing a new name fails with `409` once your account's credential limit is reached. Delete a set you no longer need to make room.


## OpenAPI

````yaml DELETE /v1/transparenzregister/credentials/{name}
openapi: 3.1.0
info:
  title: OpenRegister API
  version: 2.5.0
  description: >
    API for accessing comprehensive company data from official registers.

    This API provides access to company information, shareholder data, financial
    reports, and contact details.
servers:
  - url: https://api.openregister.de
    description: Production
security:
  - BearerAuth: []
paths:
  /v1/transparenzregister/credentials/{name}:
    delete:
      tags:
        - v1
      summary: Delete Transparenzregister credentials
      description: >
        Permanently delete a stored Transparenzregister credential set. The
        freed slot counts toward

        the account's credential limit again. Completed extracts stay
        retrievable. Polling an extract

        that is still processing under this name returns `409` until credentials
        are stored under

        the same name again.
      operationId: deleteTransparenzregisterCredentials
      parameters:
        - name: name
          in: path
          required: true
          description: |
            Name of the credential set, as passed in `name` when it was stored.
            Example: "client_a"
          schema:
            type: string
      responses:
        '204':
          description: Credentials deleted
        '400':
          description: Bad Request - The reserved name `sandbox` cannot be deleted
        '401':
          description: Unauthorized - Authentication required
        '404':
          description: Not Found - No credential set with this name
        '500':
          description: >-
            Internal Server Error - An error occurred while processing the
            request
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >
        API Key Authentication

        Provide your API key as a Bearer token in the Authorization header.


        Rejected keys return a JSON body `{"message": "..."}` naming the reason:

        - 401 `API key is missing`, `API key is invalid`, `API key is disabled`
        or `API key has expired`

        - 429 `API key rate limit exceeded` or `API key usage limit exceeded`

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.