rsdo 0.1.20260901

A Rust client library for the DigitalOcean API v2
Documentation
operationId: databases_delete_user

summary: Remove a Database User

description: |
  To remove a specific database user, send a DELETE request to
  `/v2/databases/$DATABASE_ID/users/$USERNAME`.

  A status of 204 will be given. This indicates that the request was processed
  successfully, but that no response body is needed.

  Note: User management is not supported for Caching or Valkey clusters.

tags:
  - Databases

parameters:
  - $ref: 'parameters.yml#/database_cluster_uuid'
  - $ref: 'parameters.yml#/username'

responses:
  '204':
    $ref: '../../shared/responses/no_content.yml'

  '401':
    $ref: '../../shared/responses/unauthorized.yml'

  '404':
    $ref: '../../shared/responses/not_found.yml'

  '429':
    $ref: '../../shared/responses/too_many_requests.yml'

  '500':
    $ref: '../../shared/responses/server_error.yml'

  default:
    $ref: '../../shared/responses/unexpected_error.yml'

x-codeSamples:
  - $ref: 'examples/curl/databases_delete_user.yml'
  - $ref: 'examples/go/databases_delete_user.yml'
  - $ref: 'examples/python/databases_delete_user.yml'

security:
  - bearer_auth:
    - 'database:delete'