Boundary controller HTTP API
Account Service
Lists all Accounts in a specific Auth Method.
Query Parameters
auth_method_id
string
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 Account in the provided Auth Method.
Body Parameters
name
string
Optional name for identification purposes.
description
string
Optional user-set description 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 created when creating an account.
type
string
The type of this Account. If not set, this is inferred from the type of the auth method.
auth_method_id
string
The ID of the Auth Method that is associated with this Account.
attributes
object
The attributes that are applicable for the specific Account type. The schema of this field depends on the type of the auth method that the account is being created in. For password auth methods, the required parameters are:
{
"login_name": "login_name",
}
For OIDC auth methods, the required parameters are:
{
"issuer": "issuer",
"subject": "subject"
}
For LDAP auth methods, the required parameters are:
{
"login_name": "login_name"
}
Gets a single Account based on the input id
Path Parameters
id
string
RequiredDeletes an Account.
Path Parameters
id
string
RequiredUpdates an Account.
Path Parameters
id
string
RequiredBody Parameters
name
string
Optional name for identification purposes.
description
string
Optional user-set description 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 created when creating an account.
type
string
The type of this Account. If not set, this is inferred from the type of the auth method.
auth_method_id
string
The ID of the Auth Method that is associated with this Account.
attributes
object
The attributes that are applicable for the specific Account type. The schema of this field depends on the type of the auth method that the account is being created in. For password auth methods, the required parameters are:
{
"login_name": "login_name",
}
For OIDC auth methods, the required parameters are:
{
"issuer": "issuer",
"subject": "subject"
}
For LDAP auth methods, the required parameters are:
{
"login_name": "login_name"
}
Sets the password for the provided Account.
Path Parameters
id
string
RequiredBody Parameters
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.
current_password
string
new_password
string
Sets the password for the provided Account.
Path Parameters
id
string
RequiredBody Parameters
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.
password
string