Skip to main content

List MySQL users belonging to a Database

GET/mysql-databases/{mysqlDatabaseId}/users/
v2
GET
database-list-mysql-users

Request

  • mysqlDatabaseIdstring (uuid)
    required

    ID of the MySQLDatabase to list Users for.

Responses

application/json

OK

  • Array[
  • *object
    • accessIpMaskstring
    • accessLevelstring (one of: full, readonly)
      required
    • createdAtstring (date-time)
      required
    • databaseIdstring (uuid)
      required
    • descriptionstring
    • disabledboolean
      required
    • externalAccessboolean
      required
    • idstring (uuid)
      required
    • mainUserboolean
      required
    • namestring
      required
    • passwordUpdatedAtstring (date-time)
      required
    • updatedAtstring (date-time)
      required
  • ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/mysql-databases/f0f86186-0a5a-45b2-aa33-502777496347/users