Update a contributor

Updates the properties of a contributor. Requires Manage contributors admin right.

If you want to give an existing contributor access to a new language, you must specify full languages array, including the previously added languages as well. You can pass role_id and permissions will be updated from permission template accordingly, in this case admin_rights param will be ignored

Requires write_contributors OAuth access scope.

Path Params
string
required

A unique project identifier

integer
required

A unique identifier of the contributor.

Body Params
boolean

Whether the user has Admin access to the project. From the new permission release onwards is deprecated.

boolean

Whether the user has Reviewer access to the project. From the new permission release onwards is deprecated.

number
enum

Permission template id to take permissions from, if this parameter is provided, admin_rights is ignored.

Show Details
1Manager (manage project settings, contributors and tasks)
2Developer (create keys, upload and download content)
3Content creator (create, translate and edit keys, manage screenshots)
4Reviewer (translate keys, control key statuses)
5Translator (translate keys)
Allowed:
languages
array of objects

List of languages, accessible to the user.

languages
admin_rights
array of strings

Custom list of user permissions. Possible values are activity,contributors,branches_create,branches_main_modify,branches_merge,custom_status_modify,download,glossary,glossary_edit,glossary_delete,keys,manage_languages,review,screenshots,settings,statistics,tasks,upload. Empty parameter will set default no rights for contributor.

admin_rights
Response

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json