role
Add Role Members
Adds one or more members (users and/or roles) to a role in a single atomic (all-or-nothing) batch. Idempotent — already-present members are accepted. Returns the requested members confirmed present.
Handling of a not-yet-provisioned member depends on the configured authorization backend: a backend that stores assignments itself accepts the member by id, whereas catalog-backed authorization requires the member to exist first and otherwise returns 404 — provision the user (via POST /user) or create the role before assigning. Behavior is consistent within a deployment.
post/management/v1/role/{role_id}/members
Request
- Base URLhttps://localhost
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
role_idstring uuid required
Role ID
Headers
x-project-idstring nullable
Project ID (optional; falls back to the default project if not provided)
Request body
Response
Members added
Changes
No recorded changes to this operation across all 1 revision of this API.