POST v1/group/addprivilege
Adds a DATADOWNLOADING
or USERDATAUPLOADING
privilege to the system default
ALL_GROUP
. All users in the system are always part of ALL
group. By default,
this group does not have either permission.
All the data sources which the ALL_GROUP
has permissions to are downloadable
when DATADOWNLOADING
is set.
Parameters
Parameter | Description |
---|---|
privilege |
A string representing the privilege to add. You can set `DATADOWNLOADING` or `USERDATAUPLOADING` privilege. |
groupNames |
A string representing the name of the group to add the privilege to. Only `ALL_GROUP` is accepted. |
Return codes
- 200
- 204 Success
- 401 Failure/unauthorized
Request URL
https://<instance>/callosum/v1/tspublic/v1/group/addprivilege
POST v1/group/removeprivilege
Removes a privilege from a group.
Parameters
Parameter | Description |
---|---|
privilege |
A string representing the privilege to remove. You can set `DATADOWNLOADING` or `USERDATAUPLOADING` privilege. |
groupNames |
A string representing the name of the group to remove the privilege from. Only `ALL_GROUP` is accepted. |
Return codes
- 200
- 204 Success
- 401 Failure/unauthorized
Request URL
https://<instance>/callosum/v1/tspublic/v1/group/addprivilege