Remove user from group.
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.
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.
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.
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 ] } ]
Last updated 2 months ago
This site uses cookies to deliver its service and to analyse traffic. By browsing this site, you accept the privacy policy.