Boundary Controller HTTP API
Policy Service
Lists all policies.
Query Parameters
scope_id
string
recursive
boolean
filter
string
list_token
string
An opaque token used to continue an existing iteration or request updated items. If not specified, pagination will start from the beginning.
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, an error will be returned.
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