API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.

Resource types

  1. GlobalAccountsOperations
  2. Groups
  3. Linux
  4. Users

GlobalAccountsOperations

For GlobalAccountsOperations Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/clouduseraccounts/beta/projects, unless otherwise noted
delete DELETE  /project/global/operations/operation Deletes the specified operation resource.
get GET  /project/global/operations/operation Retrieves the specified operation resource.
list GET  /project/global/operations Retrieves the list of operation resources contained within the specified project.

Groups

For Groups Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/clouduseraccounts/beta/projects, unless otherwise noted
addMember POST  /project/global/groups/groupName/addMember Adds users to the specified group.
delete DELETE  /project/global/groups/groupName Deletes the specified Group resource.
get GET  /project/global/groups/groupName Returns the specified Group resource.
insert POST  /project/global/groups Creates a Group resource in the specified project using the data included in the request.
list GET  /project/global/groups Retrieves the list of groups contained within the specified project.
removeMember POST  /project/global/groups/groupName/removeMember Removes users from the specified group.

Linux

For Linux Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/clouduseraccounts/beta/projects, unless otherwise noted
getAuthorizedKeysView POST  /project/zones/zone/authorizedKeysView/user Returns a list of authorized public keys for a specific user account.

Required query parameters: instance

getLinuxAccountViews POST  /project/zones/zone/linuxAccountViews Retrieves a list of user accounts for an instance within a specific project.

Required query parameters: instance

Users

For Users Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/clouduseraccounts/beta/projects, unless otherwise noted
addPublicKey POST  /project/global/users/user/addPublicKey Adds a public key to the specified User resource with the data included in the request.
delete DELETE  /project/global/users/user Deletes the specified User resource.
get GET  /project/global/users/user Returns the specified User resource.
insert POST  /project/global/users Creates a User resource in the specified project using the data included in the request.
list GET  /project/global/users Retrieves a list of users contained within the specified project.
removePublicKey POST  /project/global/users/user/removePublicKey Removes the specified public key from the user.

Required query parameters: fingerprint

Send feedback about...

Compute Engine Documentation