Skip to main content

Get a MySQL user

GET/mysql-users/{mysqlUserId}/
v2
GET
database-get-mysql-user

Request

  • mysqlUserIdstring (uuid)
    required

    ID of the MySQLUser to be retrieved.

Responses

application/json

OK

  • 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
  • statusstring (one of: pending, ready, error, terminating, disabled)
    required
  • statusSetAtstring (date-time)
    required
  • updatedAtstring (date-time)
    required

Usage examples

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