Last updated 1 month ago
Remove user from group.
/acl/group/remove_user
curl -L \ --request POST \ --url 'https://connect.decube.io/api/v1/data/acl/group/remove_user' \ --header 'Content-Type: application/json' \ --data '{"user_id":"text","group_id":1}'
No body
Add user to group.
/acl/group/add_user
curl -L \ --request POST \ --url 'https://connect.decube.io/api/v1/data/acl/group/add_user' \ --header 'Content-Type: application/json' \ --data '{"user_id":"text","group_id":1}'
Fetch group based on group id.
/acl/group
Id of group
curl -L \ --url 'https://connect.decube.io/api/v1/data/acl/group?group_id=1'
{ "id": 1, "name": "text", "description": "text", "owner": true, "users": [ "text" ], "policies": [ 1 ] }
List all groups available in the account.
/acl/group/list
curl -L \ --url 'https://connect.decube.io/api/v1/data/acl/group/list'
[ { "id": 1, "name": "text", "description": "text", "owner": true, "users": [ "text" ], "policies": [ 1 ] } ]