Skip to content

Modify a team member's information

PATCH
/team/{id}/members/{id|username}

Authorizations

Parameters

Path Parameters

id
required
string
[
"MMNNOOPP"
]

The ID of the team

id|username
required
string
[
"EEFFGGHH",
"my_user"
]

The ID or username of the user

Request Body

Contents to be modified

object
role
string
Contributor
permissions

The user’s permissions in bitfield format

In order from first to tenth bit, the bits are:

  • UPLOAD_VERSION
  • DELETE_VERSION
  • EDIT_DETAILS
  • EDIT_BODY
  • MANAGE_INVITES
  • REMOVE_MEMBER
  • EDIT_MEMBER
  • DELETE_PROJECT
  • VIEW_ANALYTICS
  • VIEW_PAYOUTS
integer format: bitfield
127
payouts_split

The split of payouts going to this user. The proportion of payouts they get is their split divided by the sum of the splits of all members.

integer
100
ordering

The order of the team member.

integer
0

Responses

204

Expected response to a valid request

401

Incorrect token scopes or no authorization to access the requested item(s)

object
error
required

The name of the error

string
unauthorized
description
required

The contents of the error

string
Authentication Error: Invalid Authentication Credentials

404

The requested item(s) were not found or no authorization to access the requested item(s)