Add bindings
POST/api/access/bindings
Grants one role at an organization, project or agent account scope to each listed user or group, all or nothing; an existing binding comes back with created: false. An optional expires_at must be in the future and is refused on an organization scope (422). Requires permission to manage that role at the scope; returns 201 with the bindings.
Request
Responses
- 201
- 422
Created
Unprocessable content