Boundary controller HTTP API
Alias Service
Lists all Aliases in a specific Scope.
Query Parameters
scope_id
string
The id of the scope in which to list aliases
recursive
boolean
Whether to recursively list aliases in child scopes of the provided scope.
filter
string
Filter can be specified to only return items that match the filter. See filter expressions for more information.
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. 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 Alias in the provided scope.
Body Parameters
scope_id
string
The ID of the scope of which this Alias is a part.
name
string
Optional user-set 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. Not required when creating an alias.
value
string
Required value of the alias. This is the value referenced by the user that is resolved to the destination id.
destination_id
string
destination_id is the id of the resource that this Alias points to.
type
string
type is the type of the alias.
attributes
object
The attributes that are applicable for the specific alias type. The schema of this field depends on the type of resource that the alias is being created in. For target aliases, the parameters are:
{
"authorize_session_arguments": {"host_id":"host_id"}
}
Gets a single Alias.
Path Parameters
id
string
RequiredThe id of the Alias to retrieve.
Deletes an Alias.
Path Parameters
id
string
RequiredThe id of the alias to delete.
Updates an Alias.
Path Parameters
id
string
RequiredThe id of the Alias to update.
Body Parameters
scope_id
string
The ID of the scope of which this Alias is a part.
name
string
Optional user-set 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. Not required when creating an alias.
value
string
Required value of the alias. This is the value referenced by the user that is resolved to the destination id.
destination_id
string
destination_id is the id of the resource that this Alias points to.
type
string
type is the type of the alias.
attributes
object
The attributes that are applicable for the specific alias type. The schema of this field depends on the type of resource that the alias is being created in. For target aliases, the parameters are:
{
"authorize_session_arguments": {"host_id":"host_id"}
}