put https://api.sbgenomics.com/v2/storage/volumes///members//permissions
This call overwrites the permissions for a member of a specific volume. The volume is specified as volume_id
and consists of the owner and name of a volume (for example rfranklin/my-first-volume
).
Note that this overwrites all previously set permissions for the member. Refer to the request to modify a volume member's permissionsto update rather than overwrite permissions.
If you are using Seven Bridges Platform EU, please use the following endpoint:
https://eu-api.sbgenomics.com/v2/storage/volumes/{volume_owner}/{volume_name}/members/{username}/permissions
Example request body
{
"write": false,
"read": true,
"copy": false,
"admin": true
}
Response
Interpreting the response body
Volume members have the following permissions:
Key | Data type | Description |
---|---|---|
read | String | Set this to true to grant read permissions or false to remove them. read permissions allow a volume member to browse the contents of the volume. |
copy | String | Set this to true to grant copy permissions or false to remove them. copy permissions allow a volume member to import the contents of the volume to the Platform. |
write | String | Set this to true to grant write permissions or false to remove them. write permissions allow a volume member to export files from the Platform to the volume. |
admin | String | Set this to true to grant admin permissions or false to remove them. |