Thank youHashiConf Europe is a wrap. Watch this year’s sessions on-demand. Watch Now

Boundary Controller HTTP API

Group Service

List Groups
GET /v1/groups
Expand

Lists all Groups.

Request

Query Parameters

scope_id string
recursive boolean
filter string

Response

Successful Response

items object[]

Group contains all fields related to a Group resource

id string

Output only. The ID of the Group.

scope_id string

The ID of the scope of which this Group is a part.

scope object

Output only. Scope information for this Group.

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 descripton 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.

member_ids string[]
members object[]
id string

Output only. The ID of the member.

scope_id string

Output only. The Scope ID of the member.

authorized_actions string[]
Create Group
POST /v1/groups
Expand

Creates a single Group.

Request

Body Parameters

scope_id string

The ID of the scope of which this Group is a part.

name string

Optional name for identification purposes.

description string

Optional user-set descripton 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 Group.

scope_id string

The ID of the scope of which this Group is a part.

scope object

Output only. Scope information for this Group.

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 descripton 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.

member_ids string[]
members object[]
id string

Output only. The ID of the member.

scope_id string

Output only. The Scope ID of the member.

authorized_actions string[]
Get Group
GET /v1/groups/{id}
Expand

Gets a single Group.

Request

Path Parameters

id string Required

Response

Successful Response

id string

Output only. The ID of the Group.

scope_id string

The ID of the scope of which this Group is a part.

scope object

Output only. Scope information for this Group.

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 descripton 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.

member_ids string[]
members object[]
id string

Output only. The ID of the member.

scope_id string

Output only. The Scope ID of the member.

authorized_actions string[]
Delete Group
DELETE /v1/groups/{id}
Expand

Deletes a Group.

Request

Path Parameters

id string Required

Response

Successful Response

No content.
Update Group
PATCH /v1/groups/{id}
Expand

Updates a Group.

Request

Path Parameters

id string Required

Query Parameters

update_mask string

Body Parameters

scope_id string

The ID of the scope of which this Group is a part.

name string

Optional name for identification purposes.

description string

Optional user-set descripton 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 Group.

scope_id string

The ID of the scope of which this Group is a part.

scope object

Output only. Scope information for this Group.

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 descripton 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.

member_ids string[]
members object[]
id string

Output only. The ID of the member.

scope_id string

Output only. The Scope ID of the member.

authorized_actions string[]
Add Group Members
POST /v1/groups/{id}:add-members
Expand

Adds members to a Group.

Request

Path Parameters

id string Required

Body Parameters

id string
version integer

Version is used to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

member_ids string[]

Response

Successful Response

id string

Output only. The ID of the Group.

scope_id string

The ID of the scope of which this Group is a part.

scope object

Output only. Scope information for this Group.

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 descripton 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.

member_ids string[]
members object[]
id string

Output only. The ID of the member.

scope_id string

Output only. The Scope ID of the member.

authorized_actions string[]
Remove Group Members
POST /v1/groups/{id}:remove-members
Expand

Removes the specified members from a Group.

Request

Path Parameters

id string Required

Body Parameters

id string
version integer

Version is used to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

member_ids string[]

Response

Successful Response

id string

Output only. The ID of the Group.

scope_id string

The ID of the scope of which this Group is a part.

scope object

Output only. Scope information for this Group.

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 descripton 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.

member_ids string[]
members object[]
id string

Output only. The ID of the member.

scope_id string

Output only. The Scope ID of the member.

authorized_actions string[]
Set Group Members
POST /v1/groups/{id}:set-members
Expand

Set a Group's members to exactly the list of provided in the request, removing any members that are not specified.

Request

Path Parameters

id string Required

Body Parameters

id string
version integer

Version is used to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.

member_ids string[]

Response

Successful Response

id string

Output only. The ID of the Group.

scope_id string

The ID of the scope of which this Group is a part.

scope object

Output only. Scope information for this Group.

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 descripton 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.

member_ids string[]
members object[]
id string

Output only. The ID of the member.

scope_id string

Output only. The Scope ID of the member.

authorized_actions string[]