This call edits a user's permissions in a specified project. It can only be successfully made by a user who has admin permissions in the project.
Path for Seven Bridges Platform EU
If you are using Seven Bridges Platform EU, please use the following endpoint:
https://eu-api.sbgenomics.com/v2/projects/{project_owner}/{project}/members/{username}/permissions
PUT and PATCH
The Seven Bridges Platform API has two method to modify project members' permissions. This method uses the HTTP verb
PATCH
, and the other uses the HTTP verbPUT
.The difference between the two concerns the way that they update the information stored about the user.
PATCH
allows you to update just one part of the user's information --- for instance, just the value stored for the user'scopy
permission. On the other hand, aPUT
request will fully overwrite the user's permission information. This means that when issuing aPUT
request you must enter values for every key required to describe the user, even if the values for some keys are unchanged.