Boundary
Boundary controller HTTP API
Policy Service
Lists all policies.
Query Parameters
scope_id
string
recursive
boolean
filter
string
list_token
string
An opaque token that Boundary uses to continue an existing iteration or request updated items. If you do not specify a token, pagination starts from the beginning. To learn more about list pagination in Boundary, refer to list pagination.
page_size
integer
The maximum size of a page in this iteration. If unset, the default page size configured will be used. If the page_size is greater than the default page configured, the page size will be truncated to this number..
Creates a single policy.
Body Parameters
scope_id
string
The scope id of this policy. This must be defined for policy creation, but is otherwise output only.
name
string
Optional name for identification purposes.
description
string
Optional user-set description for identification purposes.
type
string
The policy's type.
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.
attributes
object
Gets a single policy with the given id.
Path Parameters
id
string
RequiredDeletes an existing policy.
Path Parameters
id
string
RequiredUpdates an existing policy.
Path Parameters
id
string
RequiredBody Parameters
scope_id
string
The scope id of this policy. This must be defined for policy creation, but is otherwise output only.
name
string
Optional name for identification purposes.
description
string
Optional user-set description for identification purposes.
type
string
The policy's type.
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.
attributes
object