Boundary Controller HTTP API

User Service

List Users
GET /v1/users
Expand

Lists all Users.

Request

Query Parameters

scope_id string
recursive boolean
filter string

Response

Successful Response

items object[]

User contains all fields related to a User resource

id string

Output only. The ID of the User.

scope_id string

The ID of the Scope this resource is in.

scope object

Output only. Scope information for this resource.

id string

Output only. The ID of the Scope.

type string

Output only. The type of the Scope.

name string

Output only. The name of the Scope, if any.

description string

Output only. The description of the Scope, if any.

parent_scope_id string

Output only. The ID of the parent Scope, if any. This field will be empty if this is the "global" scope.

name string

Optional name for identification purposes.

description string

Optional user-set description for identification purposes.

created_time string

Output only. The time this resource was created.

updated_time string

Output only. The time this resource was last updated.

version integer

Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

account_ids string[]
accounts object[]
id string

Output only. The ID of the Account.

scope_id string

Output only. The Scope containing the Account.

authorized_actions string[]
login_name string

Output only. login_name is a string that maps to the user's account "login name" from the scope's primary auth method

full_name string

Output only. full_name is a string that maps to the user's account name from the scope's primary auth method

email string

Output only. email is a string that maps to the user's account email from the scope's primary auth method

primary_account_id string

Output only. primary_account_id is a string that maps to the user's account public_id from the scope's primary auth method

Create User
POST /v1/users
Expand

Creates a single User.

Request

Body Parameters

scope_id string

The ID of the Scope this resource is in.

name string

Optional name for identification purposes.

description string

Optional user-set description for identification purposes.

version integer

Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

Response

Successful Response

id string

Output only. The ID of the User.

scope_id string

The ID of the Scope this resource is in.

scope object

Output only. Scope information for this resource.

id string

Output only. The ID of the Scope.

type string

Output only. The type of the Scope.

name string

Output only. The name of the Scope, if any.

description string

Output only. The description of the Scope, if any.

parent_scope_id string

Output only. The ID of the parent Scope, if any. This field will be empty if this is the "global" scope.

name string

Optional name for identification purposes.

description string

Optional user-set description for identification purposes.

created_time string

Output only. The time this resource was created.

updated_time string

Output only. The time this resource was last updated.

version integer

Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

account_ids string[]
accounts object[]
id string

Output only. The ID of the Account.

scope_id string

Output only. The Scope containing the Account.

authorized_actions string[]
login_name string

Output only. login_name is a string that maps to the user's account "login name" from the scope's primary auth method

full_name string

Output only. full_name is a string that maps to the user's account name from the scope's primary auth method

email string

Output only. email is a string that maps to the user's account email from the scope's primary auth method

primary_account_id string

Output only. primary_account_id is a string that maps to the user's account public_id from the scope's primary auth method

Get User
GET /v1/users/{id}
Expand

Gets a single User.

Request

Path Parameters

id string Required

Response

Successful Response

id string

Output only. The ID of the User.

scope_id string

The ID of the Scope this resource is in.

scope object

Output only. Scope information for this resource.

id string

Output only. The ID of the Scope.

type string

Output only. The type of the Scope.

name string

Output only. The name of the Scope, if any.

description string

Output only. The description of the Scope, if any.

parent_scope_id string

Output only. The ID of the parent Scope, if any. This field will be empty if this is the "global" scope.

name string

Optional name for identification purposes.

description string

Optional user-set description for identification purposes.

created_time string

Output only. The time this resource was created.

updated_time string

Output only. The time this resource was last updated.

version integer

Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

account_ids string[]
accounts object[]
id string

Output only. The ID of the Account.

scope_id string

Output only. The Scope containing the Account.

authorized_actions string[]
login_name string

Output only. login_name is a string that maps to the user's account "login name" from the scope's primary auth method

full_name string

Output only. full_name is a string that maps to the user's account name from the scope's primary auth method

email string

Output only. email is a string that maps to the user's account email from the scope's primary auth method

primary_account_id string

Output only. primary_account_id is a string that maps to the user's account public_id from the scope's primary auth method

Delete User
DELETE /v1/users/{id}
Expand

Deletes a User.

Request

Path Parameters

id string Required

Response

Successful Response

No content.
Update User
PATCH /v1/users/{id}
Expand

Updates a User.

Request

Path Parameters

id string Required

Query Parameters

update_mask string

Body Parameters

scope_id string

The ID of the Scope this resource is in.

name string

Optional name for identification purposes.

description string

Optional user-set description for identification purposes.

version integer

Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

Response

Successful Response

id string

Output only. The ID of the User.

scope_id string

The ID of the Scope this resource is in.

scope object

Output only. Scope information for this resource.

id string

Output only. The ID of the Scope.

type string

Output only. The type of the Scope.

name string

Output only. The name of the Scope, if any.

description string

Output only. The description of the Scope, if any.

parent_scope_id string

Output only. The ID of the parent Scope, if any. This field will be empty if this is the "global" scope.

name string

Optional name for identification purposes.

description string

Optional user-set description for identification purposes.

created_time string

Output only. The time this resource was created.

updated_time string

Output only. The time this resource was last updated.

version integer

Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

account_ids string[]
accounts object[]
id string

Output only. The ID of the Account.

scope_id string

Output only. The Scope containing the Account.

authorized_actions string[]
login_name string

Output only. login_name is a string that maps to the user's account "login name" from the scope's primary auth method

full_name string

Output only. full_name is a string that maps to the user's account name from the scope's primary auth method

email string

Output only. email is a string that maps to the user's account email from the scope's primary auth method

primary_account_id string

Output only. primary_account_id is a string that maps to the user's account public_id from the scope's primary auth method

Add User Accounts
POST /v1/users/{id}:add-accounts
Expand

Associates an Account to a User.

Request

Path Parameters

id string Required

Body Parameters

id string
version integer

The version ensures the User hasn't changed since it was last retrieved and if it has the request will fail.

account_ids string[]

Response

Successful Response

id string

Output only. The ID of the User.

scope_id string

The ID of the Scope this resource is in.

scope object

Output only. Scope information for this resource.

id string

Output only. The ID of the Scope.

type string

Output only. The type of the Scope.

name string

Output only. The name of the Scope, if any.

description string

Output only. The description of the Scope, if any.

parent_scope_id string

Output only. The ID of the parent Scope, if any. This field will be empty if this is the "global" scope.

name string

Optional name for identification purposes.

description string

Optional user-set description for identification purposes.

created_time string

Output only. The time this resource was created.

updated_time string

Output only. The time this resource was last updated.

version integer

Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

account_ids string[]
accounts object[]
id string

Output only. The ID of the Account.

scope_id string

Output only. The Scope containing the Account.

authorized_actions string[]
login_name string

Output only. login_name is a string that maps to the user's account "login name" from the scope's primary auth method

full_name string

Output only. full_name is a string that maps to the user's account name from the scope's primary auth method

email string

Output only. email is a string that maps to the user's account email from the scope's primary auth method

primary_account_id string

Output only. primary_account_id is a string that maps to the user's account public_id from the scope's primary auth method

Remove User Accounts
POST /v1/users/{id}:remove-accounts
Expand

Removes the specified Accounts from being associated with the provided User.

Request

Path Parameters

id string Required

Body Parameters

id string
version integer

The version ensures the User hasn't changed since it was last retrieved and if it has the request will fail.

account_ids string[]

Response

Successful Response

id string

Output only. The ID of the User.

scope_id string

The ID of the Scope this resource is in.

scope object

Output only. Scope information for this resource.

id string

Output only. The ID of the Scope.

type string

Output only. The type of the Scope.

name string

Output only. The name of the Scope, if any.

description string

Output only. The description of the Scope, if any.

parent_scope_id string

Output only. The ID of the parent Scope, if any. This field will be empty if this is the "global" scope.

name string

Optional name for identification purposes.

description string

Optional user-set description for identification purposes.

created_time string

Output only. The time this resource was created.

updated_time string

Output only. The time this resource was last updated.

version integer

Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

account_ids string[]
accounts object[]
id string

Output only. The ID of the Account.

scope_id string

Output only. The Scope containing the Account.

authorized_actions string[]
login_name string

Output only. login_name is a string that maps to the user's account "login name" from the scope's primary auth method

full_name string

Output only. full_name is a string that maps to the user's account name from the scope's primary auth method

email string

Output only. email is a string that maps to the user's account email from the scope's primary auth method

primary_account_id string

Output only. primary_account_id is a string that maps to the user's account public_id from the scope's primary auth method

Set User Accounts
POST /v1/users/{id}:set-accounts
Expand

Set the Accounts associated to the User to exactly the list of provided in the request, removing any Accounts that are not specified.

Request

Path Parameters

id string Required

Body Parameters

id string
version integer

The version ensures the User hasn't changed since it was last retrieved and if it has the request will fail.

account_ids string[]

Response

Successful Response

id string

Output only. The ID of the User.

scope_id string

The ID of the Scope this resource is in.

scope object

Output only. Scope information for this resource.

id string

Output only. The ID of the Scope.

type string

Output only. The type of the Scope.

name string

Output only. The name of the Scope, if any.

description string

Output only. The description of the Scope, if any.

parent_scope_id string

Output only. The ID of the parent Scope, if any. This field will be empty if this is the "global" scope.

name string

Optional name for identification purposes.

description string

Optional user-set description for identification purposes.

created_time string

Output only. The time this resource was created.

updated_time string

Output only. The time this resource was last updated.

version integer

Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

account_ids string[]
accounts object[]
id string

Output only. The ID of the Account.

scope_id string

Output only. The Scope containing the Account.

authorized_actions string[]
login_name string

Output only. login_name is a string that maps to the user's account "login name" from the scope's primary auth method

full_name string

Output only. full_name is a string that maps to the user's account name from the scope's primary auth method

email string

Output only. email is a string that maps to the user's account email from the scope's primary auth method

primary_account_id string

Output only. primary_account_id is a string that maps to the user's account public_id from the scope's primary auth method