docs: Move permissions to config for usage docs (#4962)
* docs: Move permissions to config for usage docs * docs: Update permissions concepts (#4970) * docs: Update permissions concepts * docs: Delete comments * docs: Structural edits and adding workflow * docs: Fix wording * docs: Change guide name, add resource table * Rab manage roles refactor (#4980) * refreshes the manage-roles docs * adds href for common-workflows/manage-roles to configuration/identity-access-management * docs: Fix a couple typos * docs: Style updates * docs: Fix image links, update alt text * docs: Add more info/next steps sections * docs: Remove number for single instruction * fixes screenshot --------- Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com> * updates path to resource-table.mdx * sets aliases scope to Global * updates aliases scope in resource table * clarifies assigned scope id * Update website/redirects.js Co-authored-by: Michael Li <michael.li@hashicorp.com> --------- Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com> Co-authored-by: Robin Beck <stellarsquall@protonmail.ch> Co-authored-by: Michael Li <michael.li@hashicorp.com>
This commit is contained in:
18 files changed
+680
-464
No files matched your search
@@ -1,137 +0,0 @@
|
||||
---
|
||||
layout: docs
|
||||
page_title: Assignable permissions
|
||||
description: |-
|
||||
Assignable permissions
|
||||
---
|
||||
|
||||
# Assignable permissions
|
||||
|
||||
Resources identified by the ID/Type selectors have permissions granted to the
|
||||
user in the form of actions and visibility (via `output_fields`). Each of these
|
||||
is detailed in the subsections below.
|
||||
|
||||
## Actions
|
||||
|
||||
Actions convey the ability to perform some action against a resource or
|
||||
collection. Many of these are common CRUD actions (`create`, `read`, `update`,
|
||||
`delete`) but many resources also specify actions specific to their type; for
|
||||
instance, a `target` has an `authorize-session` action to allow you to request
|
||||
making a connection to that target, and `auth-method` resources have an
|
||||
`authenticate` action to allow you to authenticate to Boundary. For the most
|
||||
part these are straightforward, however there are a couple of special cases to
|
||||
know.
|
||||
|
||||
### Subactions
|
||||
|
||||
Some subactions are supported. These actions have a format
|
||||
`top_level_action:subaction`, such as `read:self`. Being granted the top level
|
||||
action infers being granted all subactions. Thus, if a grant conveys `read`, it
|
||||
also matches the API actions `read` and `read:self`. However, if a grant conveys
|
||||
`read:self`, it will match the API action `read:self` but will not match `read`.
|
||||
|
||||
### The `no-op` action and listing visibility
|
||||
|
||||
There is an action that can be granted called `no-op`. As might be apparent,
|
||||
`no-op` is not used for any real action in Boundary; the purpose of this action
|
||||
is for listing visibility. Boundary only shows resources in the output of a
|
||||
`list` action for which a user has at least one granted action. Thus, without
|
||||
`no-op`, in order for a resource to be visible in a `list` action, a different
|
||||
action such as `read` would have to be granted to a user. This could result in
|
||||
exposing more information than desired, especially in the case of listing scopes
|
||||
and authentication methods so that users can perform initial authentication to
|
||||
Boundary (that is, granting access to `u_anon`).
|
||||
|
||||
By granting the `no-op` action to users, they can see the resources in the
|
||||
output of a list command without needing other capability grants as well.
|
||||
|
||||
## Anonymous user restrictions
|
||||
|
||||
Starting in Boundary 0.9.0, there are severe limits placed on the actions
|
||||
allowed to be assigned to the anonymous user `u_anon`. This is meant to avoid
|
||||
situations where an operator accidentally or mistakenly adds the anonymous user
|
||||
to a role that provides more privileges than might be intended for
|
||||
unauthenticated users.
|
||||
|
||||
The set of actions is currently restricted to listing scopes and auth methods
|
||||
and authentication to auth methods (plus `no-op` actions for listing
|
||||
visibility). If further use-cases arise from user feedback this list can be
|
||||
expanded.
|
||||
|
||||
Note: there is no special error message returned when access is denied due to it
|
||||
being disallowed to the anonymous user. It is still possible to assign grants to
|
||||
a role on which the anonymous user is a principal that can never match the
|
||||
anonymous user. In the future this may change, but trying to limit this
|
||||
introduces other restrictions on reasonable administrative workflows so an
|
||||
acceptable set of tradeoffs would need to be figured out.
|
||||
|
||||
## Output fields
|
||||
|
||||
Grant strings can contain an `output_fields` field. This allows fine-grained
|
||||
control over visibility of data returned to users.
|
||||
|
||||
In many cases, `output_fields` will not need to be set directly. However, an
|
||||
example in the form of some history helps provide some context as to when this
|
||||
might be useful.
|
||||
|
||||
In Boundary 0.2.0, we restricted the set of fields returned for some `list`
|
||||
calls (those on the `scopes` and `auth-methods` collections) to a small set if
|
||||
the user was the anonymous user `u_anon`. Although default behavior in Boundary
|
||||
was to display all resource fields when listing, because the default was also to
|
||||
allow anonymous access to perform `list` on scopes and auth methods (in order to
|
||||
discover auth methods and then authenticate to them), returning all
|
||||
configuration information for all scopes and auth methods felt like it was
|
||||
publicly disclosing more information to users than might be desired.
|
||||
|
||||
At the same time, this was not an ideal solution for two reasons:
|
||||
|
||||
1. There is no one-size-fits-all security policy, and what we thought were
|
||||
reasonable defaults may not work in all situations
|
||||
|
||||
2. It made the scopes and auth methods listing behavior work differently from
|
||||
any other `list` action, which is not ideal
|
||||
|
||||
As a result, we decided to approach this problem the same way we normally try to
|
||||
within Boundary: set resonable defaults, but give the administrator ultimate
|
||||
control.
|
||||
|
||||
The resulting behavior is as follows: `output_fields` references the field names
|
||||
of the JSON object response, composes just like other parts of the RBAC model,
|
||||
and are action-specific. That is, a grant like:
|
||||
|
||||
`ids=*;type=auth-methods;actions=list,no-op;output_fields=scope_id,name,description`
|
||||
|
||||
will, if all by itself, result in those three identified output fields applying
|
||||
to `list` (and `no-op`) actions for all auth methods in the scope. Thus when
|
||||
performing a `list`, each item returned will have only those three fields
|
||||
populated. Any other actions (like `read` or `update`) are unaffected and will
|
||||
use defaults.
|
||||
|
||||
A grant like:
|
||||
|
||||
`ids=*;type=auth-methods;output_fields=id`
|
||||
|
||||
will, if all by itself, result in _any_ action against auth methods in the scope
|
||||
having only `id` returned.
|
||||
|
||||
However, if both of the above grants are included, since grants are composable
|
||||
the final set of output fields will be `id,scope_id,name,description` for `list`
|
||||
(and `no-op`) actions, and `id` for all other actions.
|
||||
|
||||
If, after the grants are composed for a given request, none of the grants
|
||||
applicable to the resource/action contain `output_fields` definitions, the
|
||||
defaults are used. These defaults are implemented using internal values for
|
||||
`output_fields` and vary based on whether the user is the anonymous user:
|
||||
|
||||
- If the user is the anonymous user, a useful but restricted set of fields is
|
||||
returned. This includes `id`, `scope_id`, `scope`, `name`, `description`, and a
|
||||
few more.
|
||||
|
||||
- If the user is any authenticated user, the full set of fields is returned
|
||||
|
||||
To think about it a different way, empty `output_fields`, after grant
|
||||
composition, is equivalent to using Boundary's default; however the moment that
|
||||
grants start specifying output fields, it is composed from an empty set and thus
|
||||
nothing is contained unless explicitly specified. (An actual empty set is not
|
||||
currently supported, as we don't perform validation on the values given.
|
||||
However, this means setting `output_fields=none` is functionally equivalent!)
|
||||
@@ -1,89 +0,0 @@
|
||||
---
|
||||
layout: docs
|
||||
page_title: Permissions index
|
||||
description: |-
|
||||
Boundary's permissions model
|
||||
---
|
||||
|
||||
# Permissions in Boundary
|
||||
|
||||
Boundary's permissions model is a composable, RBAC, allow-only model that
|
||||
attempts to marry flexibility with usability. This page discusses the permission
|
||||
model's fundamental concepts, provides examples of the specific forms of allowed
|
||||
grants, and contains a table that acts as an easy cheat sheet to help those new
|
||||
to its grant syntax with crafting roles.
|
||||
|
||||
Boundary's [domain model](/boundary/docs/concepts/domain-model) is based on resource
|
||||
types. These can be implemented directly, such as with targets, or they can be
|
||||
abstract types that are implemented by concrete types within the system. As an
|
||||
example of the latter, a host catalog is an abstract type and a Static host
|
||||
catalog is a concrete type.
|
||||
|
||||
From a permissions standpoint, all actions take place against directly
|
||||
implemented or abstract types. There may be actions that are only implemented by
|
||||
some concrete types (e.g., not all `auth-method` implementations will support a
|
||||
`change-password` action), but the permissions model still defines these
|
||||
capabilities at the abstract type level. This helps keep the overall system
|
||||
relatively simple and predictable.
|
||||
|
||||
At a very high level, permissions within Boundary are declared via grant strings
|
||||
and mapped to users via roles.
|
||||
|
||||
## Grant strings
|
||||
|
||||
A grant string has a form similar to:
|
||||
|
||||
`ids=<id>;type=<type>;actions=<action list>;output_fields=<fields list>`
|
||||
|
||||
Each grant string is a mapping that describes a resource or set of resources and
|
||||
the permissions that should be granted on them.
|
||||
|
||||
There are currently two types of selectors:
|
||||
|
||||
- An `id` field that indicates a specific resource or a wildcard to match all
|
||||
|
||||
- A `type` field that indicates a specific resource type or a wildcard to match
|
||||
all; this might also be used to grant permissions on collections of resources
|
||||
|
||||
Selectors are used to indicate which resources on which the grant should apply,
|
||||
using specific IDs or wildcard IDs and type selectors. (The acceptable grant
|
||||
string formats are detailed later on this page.)
|
||||
|
||||
Additionally, there are two types of assigned permissions:
|
||||
|
||||
- An `actions` field indicating which actions to allow the client to perform on
|
||||
the resources matched by `id` and `type`
|
||||
|
||||
- An `output_fields` field indicating which top-level fields to return in the
|
||||
response (0.2.1+)
|
||||
|
||||
Grant strings can be supplied via a human-friendly string syntax or via JSON.
|
||||
|
||||
## Roles
|
||||
|
||||
Roles map grant strings to principals, which are users, groups, and managed groups.
|
||||
Every role assigns grants within a scope, as determined by the role's grant scope IDs.
|
||||
|
||||
You can assign roles to multiple scopes to grant permissions to users who need access to resources across multiple scopes.
|
||||
You can also configure child scopes to inherit roles from parents.
|
||||
For example, the global scope could have multiple child scopes called "orgs".
|
||||
When you create a role in the global scope, you can configure it to apply to those children org scopes.
|
||||
|
||||
When a user makes a request, the client may provide the scope or Boundary may look it up using the resource's ID.
|
||||
This scope ID, along with the user's ID and the IDs of the groups the user belongs to, control which roles Boundary fetches to provide grants for the request.
|
||||
|
||||
A role provides grants for a request if the grant scope ID matches the request's
|
||||
scope ID and one or more of the following are true:
|
||||
|
||||
- The user's ID is contained in the principal IDs set on the role
|
||||
|
||||
- A group the user belongs to is contained in the principal IDs set on the role
|
||||
|
||||
- The user is logged in and the `u_auth` user is contained in the principal IDs
|
||||
set on the role
|
||||
|
||||
- The role contains the `u_anon` user in the in the principal IDs set on the
|
||||
role
|
||||
|
||||
Roles are composable; a user's final set of grants will be composed of grants
|
||||
that originate from all matching roles.
|
||||
@@ -1,130 +0,0 @@
|
||||
---
|
||||
layout: docs
|
||||
page_title: Permission grant formats
|
||||
description: |-
|
||||
Permission grant formats
|
||||
---
|
||||
|
||||
# Permission grant formats
|
||||
|
||||
Because of the aforementioned properties of the permissions model, grants are
|
||||
relatively simple. All grants take one of four forms. These examples use the
|
||||
canonical string syntax; the JSON equivalents are simply an object with a string
|
||||
`id` value, a string `type` value, a string array `actions` value, and a string
|
||||
array `output_fields` value.
|
||||
|
||||
~> `output_fields` is omitted in most example below for brevity but are valid
|
||||
in all of them. It is also valid in each case to omit `actions` and specify
|
||||
_only_ `output_fields`.
|
||||
|
||||
## ID only
|
||||
|
||||
This is the simplest form: for a given specific resource, allow these actions.
|
||||
Example:
|
||||
|
||||
`ids=hsst_1234567890;actions=read,update`
|
||||
|
||||
This grants `read` and `update` actions to that single resource. It is invalid
|
||||
to specify `create` or `list` as actions in this format, as this format
|
||||
explicitly identifies a resource, whereas those actions operate exclusively on
|
||||
collections.
|
||||
|
||||
## Type only
|
||||
|
||||
For a given type, allow these actions. Example:
|
||||
|
||||
`type=host-catalog;actions=create,list`
|
||||
|
||||
Because type specifies only a collection as opposed to specific resources within
|
||||
that collection, only collection actions are allowed in this format. Currently,
|
||||
this is `create` and `list`.
|
||||
|
||||
There is one additional restriction: this is only valid against "top-level"
|
||||
resource types, which currently are:
|
||||
|
||||
- Auth Methods
|
||||
- Auth Tokens
|
||||
- Groups
|
||||
- Host Catalogs
|
||||
- Roles
|
||||
- Scopes
|
||||
- Sessions
|
||||
- Targets
|
||||
- Users
|
||||
|
||||
The reason for this is that other types of resources are contained within one of
|
||||
these resource types; for instance, accounts are instantiated within an auth
|
||||
method. To specify actions against those, you must also specify to which
|
||||
specific containing resource you want the grants to apply. This can be done with
|
||||
the pinned format shown below.
|
||||
|
||||
## Pinned ID
|
||||
|
||||
This form "pins" actions to a non-top-level type within a specific ID. It's
|
||||
easiest to explain with an example:
|
||||
|
||||
`ids=hcst_1234567890;type=host-set;actions=create,read,update`
|
||||
|
||||
In this example, the user is able to create, read, or update host sets within
|
||||
the scope, but _only the host sets belonging to host catalog hcst_1234567890_.
|
||||
Pinning is essentially a way to use top-level resources to create mini
|
||||
permission boundaries for their subordinate resources.
|
||||
|
||||
## Wildcards
|
||||
|
||||
Various wildcard possibilities are allowed:
|
||||
|
||||
### Wildcard ID
|
||||
|
||||
When just the ID is `*`, it matches all IDs of the given type. This can be used
|
||||
with both top-level resource types and not. Example:
|
||||
|
||||
`ids=*;type=host-set;actions=create,read,update,set-hosts`
|
||||
|
||||
### Wildcard type
|
||||
|
||||
For non-top-level resources with pinned IDs, the `type` can be a wildcard:
|
||||
|
||||
`ids=hcst_1234567890;type=*;actions=create,read,update`
|
||||
|
||||
This would allow `create`, `read`, and `update` actions for all types of
|
||||
subordinate resources (in this case host sets and hosts) underneath the host
|
||||
catalog with ID `hcst_1234567890`.
|
||||
|
||||
### Wildcard ID and type
|
||||
|
||||
If ID and type are both a wildcard, the grant is essentially a catch-all that
|
||||
will match any resource of any type within the scope and allow the given
|
||||
actions.
|
||||
|
||||
`ids=*;type=*;actions=read,list`
|
||||
|
||||
### Wildcard ID, type, and actions
|
||||
|
||||
Finally, ID, type, and actions can all be wildcards:
|
||||
|
||||
`ids=*;type=*;actions=*`
|
||||
|
||||
Such a grant is essentially a full administrator grant for a scope.
|
||||
|
||||
## Templates
|
||||
|
||||
A few template possibilities exist, which will at grant evaluation time
|
||||
substitute the given value into the ID field of the grant string:
|
||||
|
||||
- `{{.Account.Id}}`: The substituted value is the account ID associated with the
|
||||
token used to perform the action. As an example,
|
||||
`ids={{.Account.Id}};actions=read,change-password"` is one of Boundary's
|
||||
default grants to allow users that have authenticated with the Password auth
|
||||
method to change their own password.
|
||||
- **NOTE**: Prior to Boundary 0.11.1, `{{account.id}}` must be used instead.
|
||||
Boundary 0.11.1+ changes this for consistency with other places within
|
||||
Boundary that are gaining templating support, but supports both formats for
|
||||
backwards compatibility.
|
||||
|
||||
- `{{.User.Id}}`: The substituted value is the user ID associated with the token
|
||||
used to perform the action.
|
||||
- **NOTE**: Prior to Boundary 0.11.1, `{{user.id}}` must be used instead.
|
||||
Boundary 0.11.1+ changes this for consistency with other places within
|
||||
Boundary that are gaining templating support, but supports both formats for
|
||||
backwards compatibility.
|
||||
@@ -1,238 +0,0 @@
|
||||
---
|
||||
layout: docs
|
||||
page_title: Resource table
|
||||
description: |-
|
||||
Resource table
|
||||
---
|
||||
|
||||
# Resource tables
|
||||
|
||||
The following tables work as a quick cheat-sheet to help you manage your
|
||||
permissions. Note that the tables are not exhaustive; for brevity they do _not_ show
|
||||
wildcard or templated grant strings.
|
||||
|
||||
Additionally, these tables do not include available output fields; see the [service
|
||||
documentation](/boundary/api-docs) for guidance.
|
||||
|
||||
Refer to the tables for more information about the following resource types:
|
||||
|
||||
<!-- BEGIN TABLE -->
|
||||
|
||||
- [Account](#account)
|
||||
- [Alias](#alias)
|
||||
- [Auth method](#auth-method)
|
||||
- [Auth token](#auth-token)
|
||||
- [Billing](#billing)
|
||||
- [Credential](#credential)
|
||||
- [Credential library](#credential-library)
|
||||
- [Credential store](#credential-store)
|
||||
- [Group](#group)
|
||||
- [Host](#host)
|
||||
- [Host catalog](#host-catalog)
|
||||
- [Host set](#host-set)
|
||||
- [Managed group](#managed-group)
|
||||
- [Policy](#policy)
|
||||
- [Role](#role)
|
||||
- [Scope](#scope)
|
||||
- [Session](#session)
|
||||
- [Session recording](#session-recording)
|
||||
- [Storage bucket](#storage-bucket)
|
||||
- [Target](#target)
|
||||
- [User](#user)
|
||||
- [Worker](#worker)
|
||||
|
||||
## Account
|
||||
|
||||
The **Account** resource type supports the following scopes: **Global**, **Org**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/accounts</code> | <ul><li>Type</li><ul><li><code>account</code></li></ul></ul> | <ul><li><code>create</code>: Create an account</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List accounts</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/accounts/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Pin</li><ul><li><code><auth-method-id></code></li></ul><li>Type</li><ul><li><code>account</code></li></ul></ul> | <ul><li><code>read</code>: Read an account</li><ul><li>`ids=<id>;actions=read`</li><li>`ids=<pin>;type=<type>;actions=read`</li></ul><li><code>update</code>: Update an account</li><ul><li>`ids=<id>;actions=update`</li><li>`ids=<pin>;type=<type>;actions=update`</li></ul><li><code>delete</code>: Delete an account</li><ul><li>`ids=<id>;actions=delete`</li><li>`ids=<pin>;type=<type>;actions=delete`</li></ul><li><code>change-password</code>: Change a password on an account given the current password</li><ul><li>`ids=<id>;actions=change-password`</li><li>`ids=<pin>;type=<type>;actions=change-password`</li></ul><li><code>set-password</code>: Set a password on an account, without requiring the current password</li><ul><li>`ids=<id>;actions=set-password`</li><li>`ids=<pin>;type=<type>;actions=set-password`</li></ul></ul> |
|
||||
|
||||
## Alias
|
||||
|
||||
The **Alias** resource type supports the following scopes: **Global**, **Org**, **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/aliases</code> | <ul><li>Type</li><ul><li><code>alias</code></li></ul></ul> | <ul><li><code>create</code>: Create an alias</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List aliass</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/aliases/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>alias</code></li></ul></ul> | <ul><li><code>read</code>: Read an alias</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update an alias</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete an alias</li><ul><li>`ids=<id>;actions=delete`</li></ul></ul> |
|
||||
|
||||
## Auth method
|
||||
|
||||
The **Auth method** resource type supports the following scopes: **Global**, **Org**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/auth-methods</code> | <ul><li>Type</li><ul><li><code>auth-method</code></li></ul></ul> | <ul><li><code>create</code>: Create an auth method</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List auth methods</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/auth-methods/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>auth-method</code></li></ul></ul> | <ul><li><code>read</code>: Read an auth method</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update an auth method</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete an auth method</li><ul><li>`ids=<id>;actions=delete`</li></ul><li><code>authenticate</code>: Authenticate to an auth method</li><ul><li>`ids=<id>;actions=authenticate`</li></ul><li><code>change-state</code>: </li><ul><li>`ids=<id>;actions=change-state`</li></ul></ul> |
|
||||
|
||||
## Auth token
|
||||
|
||||
The **Auth token** resource type supports the following scopes: **Global**, **Org**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/auth-tokens</code> | <ul><li>Type</li><ul><li><code>auth-token</code></li></ul></ul> | <ul><li><code>list</code>: List auth tokens</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/auth-tokens/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>auth-token</code></li></ul></ul> | <ul><li><code>read</code>: Read an auth token</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>delete</code>: Delete an auth token</li><ul><li>`ids=<id>;actions=delete`</li></ul><li><code>delete:self</code>: </li><ul><li>`ids=<id>;actions=delete:self`</li></ul><li><code>read:self</code>: </li><ul><li>`ids=<id>;actions=read:self`</li></ul></ul> |
|
||||
|
||||
## Billing
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/billing</code> | <ul><li>Type</li><ul><li><code>billing</code></li></ul></ul> | <ul><li><code>monthly-active-users</code>: </li><ul><li>`type=<type>;actions=monthly-active-users`</li></ul></ul> |
|
||||
|
||||
## Credential
|
||||
|
||||
The **Credential** resource type supports the following scopes: **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/credentials</code> | <ul><li>Type</li><ul><li><code>credential</code></li></ul></ul> | <ul><li><code>create</code>: Create a credential</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List credentials</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/credentials/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Pin</li><ul><li><code><credential-store-id></code></li></ul><li>Type</li><ul><li><code>credential</code></li></ul></ul> | <ul><li><code>read</code>: Read a credential</li><ul><li>`ids=<id>;actions=read`</li><li>`ids=<pin>;type=<type>;actions=read`</li></ul><li><code>update</code>: Update a credential</li><ul><li>`ids=<id>;actions=update`</li><li>`ids=<pin>;type=<type>;actions=update`</li></ul><li><code>delete</code>: Delete a credential</li><ul><li>`ids=<id>;actions=delete`</li><li>`ids=<pin>;type=<type>;actions=delete`</li></ul></ul> |
|
||||
|
||||
## Credential library
|
||||
|
||||
The **Credential library** resource type supports the following scopes: **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/credential-libraries</code> | <ul><li>Type</li><ul><li><code>credential-library</code></li></ul></ul> | <ul><li><code>create</code>: Create a credential library</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List credential librarys</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/credential-libraries/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Pin</li><ul><li><code><credential-store-id></code></li></ul><li>Type</li><ul><li><code>credential-library</code></li></ul></ul> | <ul><li><code>read</code>: Read a credential library</li><ul><li>`ids=<id>;actions=read`</li><li>`ids=<pin>;type=<type>;actions=read`</li></ul><li><code>update</code>: Update a credential library</li><ul><li>`ids=<id>;actions=update`</li><li>`ids=<pin>;type=<type>;actions=update`</li></ul><li><code>delete</code>: Delete a credential library</li><ul><li>`ids=<id>;actions=delete`</li><li>`ids=<pin>;type=<type>;actions=delete`</li></ul></ul> |
|
||||
|
||||
## Credential store
|
||||
|
||||
The **Credential store** resource type supports the following scopes: **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/credential-stores</code> | <ul><li>Type</li><ul><li><code>credential-store</code></li></ul></ul> | <ul><li><code>create</code>: Create a credential store</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List credential stores</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/credential-stores/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>credential-store</code></li></ul></ul> | <ul><li><code>read</code>: Read a credential store</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update a credential store</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete a credential store</li><ul><li>`ids=<id>;actions=delete`</li></ul></ul> |
|
||||
|
||||
## Group
|
||||
|
||||
The **Group** resource type supports the following scopes: **Global**, **Org**, **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/groups</code> | <ul><li>Type</li><ul><li><code>group</code></li></ul></ul> | <ul><li><code>create</code>: Create a group</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List groups</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/groups/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>group</code></li></ul></ul> | <ul><li><code>read</code>: Read a group</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update a group</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete a group</li><ul><li>`ids=<id>;actions=delete`</li></ul><li><code>add-members</code>: Add members to a group</li><ul><li>`ids=<id>;actions=add-members`</li></ul><li><code>remove-members</code>: Remove members from a group</li><ul><li>`ids=<id>;actions=remove-members`</li></ul><li><code>set-members</code>: Set the full set of members on a group</li><ul><li>`ids=<id>;actions=set-members`</li></ul></ul> |
|
||||
|
||||
## Host
|
||||
|
||||
The **Host** resource type supports the following scopes: **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/hosts</code> | <ul><li>Type</li><ul><li><code>host</code></li></ul></ul> | <ul><li><code>create</code>: Create a host</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List hosts</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/hosts/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Pin</li><ul><li><code><host-catalog-id></code></li></ul><li>Type</li><ul><li><code>host</code></li></ul></ul> | <ul><li><code>read</code>: Read a host</li><ul><li>`ids=<id>;actions=read`</li><li>`ids=<pin>;type=<type>;actions=read`</li></ul><li><code>update</code>: Update a host</li><ul><li>`ids=<id>;actions=update`</li><li>`ids=<pin>;type=<type>;actions=update`</li></ul><li><code>delete</code>: Delete a host</li><ul><li>`ids=<id>;actions=delete`</li><li>`ids=<pin>;type=<type>;actions=delete`</li></ul></ul> |
|
||||
|
||||
## Host catalog
|
||||
|
||||
The **Host catalog** resource type supports the following scopes: **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/host-catalogs</code> | <ul><li>Type</li><ul><li><code>host-catalog</code></li></ul></ul> | <ul><li><code>create</code>: Create a host catalog</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List host catalogs</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/host-catalogs/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>host-catalog</code></li></ul></ul> | <ul><li><code>read</code>: Read a host catalog</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update a host catalog</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete a host catalog</li><ul><li>`ids=<id>;actions=delete`</li></ul></ul> |
|
||||
|
||||
## Host set
|
||||
|
||||
The **Host set** resource type supports the following scopes: **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/host-sets</code> | <ul><li>Type</li><ul><li><code>host-set</code></li></ul></ul> | <ul><li><code>create</code>: Create a host set</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List host sets</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/host-sets/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Pin</li><ul><li><code><host-catalog-id></code></li></ul><li>Type</li><ul><li><code>host-set</code></li></ul></ul> | <ul><li><code>read</code>: Read a host set</li><ul><li>`ids=<id>;actions=read`</li><li>`ids=<pin>;type=<type>;actions=read`</li></ul><li><code>update</code>: Update a host set</li><ul><li>`ids=<id>;actions=update`</li><li>`ids=<pin>;type=<type>;actions=update`</li></ul><li><code>delete</code>: Delete a host set</li><ul><li>`ids=<id>;actions=delete`</li><li>`ids=<pin>;type=<type>;actions=delete`</li></ul><li><code>add-hosts</code>: Add hosts to a host set</li><ul><li>`ids=<id>;actions=add-hosts`</li><li>`ids=<pin>;type=<type>;actions=add-hosts`</li></ul><li><code>remove-hosts</code>: Remove hosts from a host set</li><ul><li>`ids=<id>;actions=remove-hosts`</li><li>`ids=<pin>;type=<type>;actions=remove-hosts`</li></ul><li><code>set-hosts</code>: Set the full set of hosts on a host set</li><ul><li>`ids=<id>;actions=set-hosts`</li><li>`ids=<pin>;type=<type>;actions=set-hosts`</li></ul></ul> |
|
||||
|
||||
## Managed group
|
||||
|
||||
The **Managed group** resource type supports the following scopes: **Global**, **Org**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/managed-groups</code> | <ul><li>Type</li><ul><li><code>managed-group</code></li></ul></ul> | <ul><li><code>create</code>: Create a managed group</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List managed groups</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/managed-groups/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Pin</li><ul><li><code><auth-method-id></code></li></ul><li>Type</li><ul><li><code>managed-group</code></li></ul></ul> | <ul><li><code>read</code>: Read a managed group</li><ul><li>`ids=<id>;actions=read`</li><li>`ids=<pin>;type=<type>;actions=read`</li></ul><li><code>update</code>: Update a managed group</li><ul><li>`ids=<id>;actions=update`</li><li>`ids=<pin>;type=<type>;actions=update`</li></ul><li><code>delete</code>: Delete a managed group</li><ul><li>`ids=<id>;actions=delete`</li><li>`ids=<pin>;type=<type>;actions=delete`</li></ul></ul> |
|
||||
|
||||
## Policy
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/policies</code> | <ul><li>Type</li><ul><li><code>policy</code></li></ul></ul> | <ul><li><code>create</code>: Create a policy</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List policys</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/policies/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>policy</code></li></ul></ul> | <ul><li><code>read</code>: Read a policy</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update a policy</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete a policy</li><ul><li>`ids=<id>;actions=delete`</li></ul></ul> |
|
||||
|
||||
## Role
|
||||
|
||||
The **Role** resource type supports the following scopes: **Global**, **Org**, **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/roles</code> | <ul><li>Type</li><ul><li><code>role</code></li></ul></ul> | <ul><li><code>create</code>: Create a role</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List roles</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/roles/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>role</code></li></ul></ul> | <ul><li><code>read</code>: Read a role</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update a role</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete a role</li><ul><li>`ids=<id>;actions=delete`</li></ul><li><code>add-grant-scopes</code>: Add grant scopes to a role</li><ul><li>`ids=<id>;actions=add-grant-scopes`</li></ul><li><code>add-grants</code>: Add grants to a role</li><ul><li>`ids=<id>;actions=add-grants`</li></ul><li><code>add-principals</code>: Add principals to a role</li><ul><li>`ids=<id>;actions=add-principals`</li></ul><li><code>remove-grant-scopes</code>: Remove grant scopes from a role</li><ul><li>`ids=<id>;actions=remove-grant-scopes`</li></ul><li><code>remove-grants</code>: Remove grants from a role</li><ul><li>`ids=<id>;actions=remove-grants`</li></ul><li><code>remove-principals</code>: Remove principals from a role</li><ul><li>`ids=<id>;actions=remove-principals`</li></ul><li><code>set-grant-scopes</code>: Set the full set of grant scopes on a role</li><ul><li>`ids=<id>;actions=set-grant-scopes`</li></ul><li><code>set-grants</code>: Set the full set of grants on a role</li><ul><li>`ids=<id>;actions=set-grants`</li></ul><li><code>set-principals</code>: Set the full set of principals on a role</li><ul><li>`ids=<id>;actions=set-principals`</li></ul></ul> |
|
||||
|
||||
## Scope
|
||||
|
||||
The **Scope** resource type supports the following scopes: **Global**, **Org**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/scopes</code> | <ul><li>Type</li><ul><li><code>scope</code></li></ul></ul> | <ul><li><code>create</code>: Create a scope</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>destroy-key-version</code>: </li><ul><li>`type=<type>;actions=destroy-key-version`</li></ul><li><code>list</code>: List scopes</li><ul><li>`type=<type>;actions=list`</li></ul><li><code>list-key-version-destruction-jobs</code>: </li><ul><li>`type=<type>;actions=list-key-version-destruction-jobs`</li></ul><li><code>list-keys</code>: </li><ul><li>`type=<type>;actions=list-keys`</li></ul><li><code>rotate-keys</code>: </li><ul><li>`type=<type>;actions=rotate-keys`</li></ul></ul> |
|
||||
| <code>/scopes/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>scope</code></li></ul></ul> | <ul><li><code>read</code>: Read a scope</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update a scope</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete a scope</li><ul><li>`ids=<id>;actions=delete`</li></ul><li><code>attach-storage-policy</code>: </li><ul><li>`ids=<id>;actions=attach-storage-policy`</li></ul><li><code>detach-storage-policy</code>: </li><ul><li>`ids=<id>;actions=detach-storage-policy`</li></ul></ul> |
|
||||
|
||||
## Session
|
||||
|
||||
The **Session** resource type supports the following scopes: **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/sessions</code> | <ul><li>Type</li><ul><li><code>session</code></li></ul></ul> | <ul><li><code>list</code>: List sessions</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/sessions/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>session</code></li></ul></ul> | <ul><li><code>read</code>: Read a session</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>cancel</code>: Cancel a session</li><ul><li>`ids=<id>;actions=cancel`</li></ul><li><code>cancel:self</code>: Cancel a session, which must be associated with the calling user</li><ul><li>`ids=<id>;actions=cancel:self`</li></ul><li><code>read:self</code>: Read a session, which must be associated with the calling user</li><ul><li>`ids=<id>;actions=read:self`</li></ul></ul> |
|
||||
|
||||
## Session recording
|
||||
|
||||
The **Session recording** resource type supports the following scopes: **Global**, **Org**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/session-recordings</code> | <ul><li>Type</li><ul><li><code>session-recording</code></li></ul></ul> | <ul><li><code>list</code>: List session recordings</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/session-recordings/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>session-recording</code></li></ul></ul> | <ul><li><code>read</code>: Read a session recording</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>delete</code>: Delete a session recording</li><ul><li>`ids=<id>;actions=delete`</li></ul><li><code>download</code>: Download a session recording</li><ul><li>`ids=<id>;actions=download`</li></ul><li><code>reapply-storage-policy</code>: Reapply the storage policy to a session recording</li><ul><li>`ids=<id>;actions=reapply-storage-policy`</li></ul></ul> |
|
||||
|
||||
## Storage bucket
|
||||
|
||||
The **Storage bucket** resource type supports the following scopes: **Global**, **Org**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/storage-buckets</code> | <ul><li>Type</li><ul><li><code>storage-bucket</code></li></ul></ul> | <ul><li><code>create</code>: Create a storage bucket</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List storage buckets</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/storage-buckets/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>storage-bucket</code></li></ul></ul> | <ul><li><code>read</code>: Read a storage bucket</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update a storage bucket</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete a storage bucket</li><ul><li>`ids=<id>;actions=delete`</li></ul></ul> |
|
||||
|
||||
## Target
|
||||
|
||||
The **Target** resource type supports the following scopes: **Project**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/targets</code> | <ul><li>Type</li><ul><li><code>target</code></li></ul></ul> | <ul><li><code>create</code>: Create a target</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List targets</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/targets/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>target</code></li></ul></ul> | <ul><li><code>read</code>: Read a target</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update a target</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete a target</li><ul><li>`ids=<id>;actions=delete`</li></ul><li><code>add-credential-sources</code>: Add credential sources to a target</li><ul><li>`ids=<id>;actions=add-credential-sources`</li></ul><li><code>add-host-sources</code>: Add host sources to a target</li><ul><li>`ids=<id>;actions=add-host-sources`</li></ul><li><code>authorize-session</code>: Authorize a session via the target</li><ul><li>`ids=<id>;actions=authorize-session`</li></ul><li><code>remove-credential-sources</code>: Remove credential sources from a target</li><ul><li>`ids=<id>;actions=remove-credential-sources`</li></ul><li><code>remove-host-sources</code>: Remove host sources from a target</li><ul><li>`ids=<id>;actions=remove-host-sources`</li></ul><li><code>set-credential-sources</code>: Set the full set of credential sources on a target</li><ul><li>`ids=<id>;actions=set-credential-sources`</li></ul><li><code>set-host-sources</code>: Set the full set of host sources on a target</li><ul><li>`ids=<id>;actions=set-host-sources`</li></ul></ul> |
|
||||
|
||||
## User
|
||||
|
||||
The **User** resource type supports the following scopes: **Global**, **Org**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/users</code> | <ul><li>Type</li><ul><li><code>user</code></li></ul></ul> | <ul><li><code>create</code>: Create a user</li><ul><li>`type=<type>;actions=create`</li></ul><li><code>list</code>: List users</li><ul><li>`type=<type>;actions=list`</li></ul></ul> |
|
||||
| <code>/users/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>user</code></li></ul></ul> | <ul><li><code>read</code>: Read a user</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update a user</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete a user</li><ul><li>`ids=<id>;actions=delete`</li></ul><li><code>add-accounts</code>: Add accounts to a user</li><ul><li>`ids=<id>;actions=add-accounts`</li></ul><li><code>list-resolvable-aliases</code>: </li><ul><li>`ids=<id>;actions=list-resolvable-aliases`</li></ul><li><code>remove-accounts</code>: Remove accounts from a user</li><ul><li>`ids=<id>;actions=remove-accounts`</li></ul><li><code>set-accounts</code>: Set the full set of accounts on a user</li><ul><li>`ids=<id>;actions=set-accounts`</li></ul></ul> |
|
||||
|
||||
## Worker
|
||||
|
||||
The **Worker** resource type supports the following scopes: **Global**
|
||||
|
||||
| API endpoint | Parameters into permissions engine | Available actions / examples |
|
||||
| ------------ | ---------------------------------- | ---------------------------- |
|
||||
| <code>/workers</code> | <ul><li>Type</li><ul><li><code>worker</code></li></ul></ul> | <ul><li><code>create:controller-led</code>: Create a worker using the controller-led workflow</li><ul><li>`type=<type>;actions=create:controller-led`</li><li>`type=<type>;actions=create:controller-led`</li></ul><li><code>create:worker-led</code>: Create a worker using the worker-led workflow</li><ul><li>`type=<type>;actions=create:worker-led`</li><li>`type=<type>;actions=create:worker-led`</li></ul><li><code>list</code>: List workers</li><ul><li>`type=<type>;actions=list`</li></ul><li><code>read-certificate-authority</code>: </li><ul><li>`type=<type>;actions=read-certificate-authority`</li></ul><li><code>reinitialize-certificate-authority</code>: </li><ul><li>`type=<type>;actions=reinitialize-certificate-authority`</li></ul></ul> |
|
||||
| <code>/workers/<id></code> | <ul><li>ID</li><ul><li><code><id></code></li></ul><li>Type</li><ul><li><code>worker</code></li></ul></ul> | <ul><li><code>read</code>: Read a worker</li><ul><li>`ids=<id>;actions=read`</li></ul><li><code>update</code>: Update a worker</li><ul><li>`ids=<id>;actions=update`</li></ul><li><code>delete</code>: Delete a worker</li><ul><li>`ids=<id>;actions=delete`</li></ul><li><code>add-worker-tags</code>: Add worker tags to a worker</li><ul><li>`ids=<id>;actions=add-worker-tags`</li></ul><li><code>remove-worker-tags</code>: Remove worker tags from a worker</li><ul><li>`ids=<id>;actions=remove-worker-tags`</li></ul><li><code>set-worker-tags</code>: Set the full set of worker tags on a worker</li><ul><li>`ids=<id>;actions=set-worker-tags`</li></ul></ul> |
|
||||
|
||||
|
||||
<!-- END TABLE -->
|
||||
Reference in new issue
Block a user