Boundary
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 the provided scope's child scopes.
filter
string
You can specify that the filter should only return items that match. Refer to filter expressions for more information.
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 you do not set a page size, Boundary uses the configured default page size. If the page_size is greater than the default page size configured, Boundary truncates the page size 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 fails if the version does not match the latest known good version. Version is not required when you create an alias.
value
string
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 you create the alias for. 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 fails if the version does not match the latest known good version. Version is not required when you create an alias.
value
string
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 you create the alias for. For target aliases, the parameters are:
{
"authorize_session_arguments": {"host_id":"host_id"}
}