Modify a project member's permissions

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 verb PUT.

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's copy permission. On the other hand, a PUT request will fully overwrite the user's permission information. This means that when issuing a PUT request you must enter values for every key required to describe the user, even if the values for some keys are unchanged.

See a list of Seven Bridges Platform-specific response codes that may be contained in the body of the response.

Language