Change Db Owner

Change Db Owner

Use this to change the owner of a DB (standalone or primary) to other user of same org
Authorized Roles : PROVIDER or ORG_ADMIN

Request
URI
PATCH
https://{api_host}/provider/databases/{dbUUID}/change-db-owner
COPY
Path Parameters
string
dbUUID
Required

ID of the database


Request Body
ChangeDbOwnerDto of type(s) application/json
Required
{
    "userId": 0
}
integer As int32 As int32
userId
Required

userId

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

400

Bad Request

Operation doesn't return any data structure