database

Modify user

Modifies the user {username} details for the Managed Database service {uuid}.

patch/1.3/database/{uuid}/users/{username}

Request

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

Path parameters

uuidstring uuid required

The unique identifier for the integration.

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

Service UUID

usernamestring required

The title of an entity.

Example:my-service

Username identifier

Request body

passwordstring

New password for the service user

authenticationstring

Authentication method for the service user

Example request

{
  "password": "new_secure_password_123!",
  "authentication": "caching_sha2_password"
}

Response

OK

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.