mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 21:07:39 -02:30
Update user roles list API documentation
This commit is contained in:
12
awx/api/templates/api/user_roles_list.md
Normal file
12
awx/api/templates/api/user_roles_list.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# List Roles for this User:
|
||||
|
||||
Make a GET request to this resource to retrieve a list of roles associated with the selected user.
|
||||
|
||||
{% include "api/_list_common.md" %}
|
||||
|
||||
# Associate Roles with this User:
|
||||
|
||||
Make a POST request to this resource to add or remove a role from this user. The following fields may be modified:
|
||||
|
||||
* `id`: Required. The Role ID to add to the user.
|
||||
* `disassociate`: Optional. Provide if you want to remove the role.
|
||||
Reference in New Issue
Block a user