database

Create user

Creates a new user for the Managed Database service {uuid}.

post/1.3/database/{uuid}/users

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/database/{uuid}/users
  • Auth: HTTP bearer

Path parameters

uuidstring uuid required

The unique identifier for the integration.

Example:01234567-89ab-cdef-0123-456789abcdef

Service UUID

Request body

usernamestring required

The username of the service user

passwordstring

The password of the service user

authenticationstring

The authentication method for the service user

Example request

{
  "username": "api-doc-user",
  "authentication": "caching_sha2_password",
  "password": "new-password"
}

Response

Created

usernamestring

The username of the user.

passwordstring

The password of the user.

authenticationstring

The authentication method used by the user.

typestring

The type of the user.

Example response

{
  "username": "admin",
  "password": "my-password",
  "authentication": "caching_sha2_password",
  "type": "admin"
}

Changes

No recorded changes to this operation across all 1 revision of this API.