Users: list

Requires authorization

Lists users in the specified Cloud SQL instance.

Request

HTTP request

GET https://www.googleapis.com/sql/v1beta4/projects/project/instances/instance/users

Parameters

Parameter name Value Description
Path parameters
instance string Database instance ID. This does not include the project ID.
project string Project ID of the project that contains the instance.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/sqlservice.admin
https://www.googleapis.com/auth/cloud-platform

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "sql#usersList",
  "nextPageToken": string,
  "items": [
    users Resource
  ]
}
Property name Value Description Notes
kind string This is always sql#usersList.
nextPageToken string An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
items[] list List of user resources in the instance.

Send feedback about...

Cloud SQL Documentation