Skip to main content
PUT
Needs team:update, and a role in the workspace that can edit the team: owners and managers can. See Permissions.
{id} is the person’s account id from the team list, and the body names the workspace in workspace_id. Send one of:
  • role: moves them to that role, a name from roles. It emails no one, and it can be changed back. The workspace owner keeps theirs, and only an owner changes another owner’s.
  • resend_invitation: true: sends an invitation not accepted yet again. The invited person gets one email with a new link that works for 7 days, and the old link stops working. One invitation goes to an address for each workspace a day, new or sent again, and invitations sent from the app’s Team page count toward it: a second the same day answers 429 with error: rate_limited, a Retry-After header, and the wait in the message. If two requests send the same invitation at the same moment, it is sent once, and the other answers 429 with error: invitation_recently_sent.
Not both in one request: change the role first, then send the invitation again. Changing a role works on every plan, Free included. Sending an invitation again is on paid plans: when the workspace owner is on Free, nothing is sent and the answer is 403 with error: plan_limit_reached and limit: team.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The person's account id: id in the team list.

Example:

58

Body

application/json
workspace_id
integer
required

The workspace. It must be one the key can reach.

role
enum<string>

The new role: a name from roles in the team list. Required unless resend_invitation is true. The workspace owner keeps theirs.

Available options:
APP_MANAGER,
APP_CONTENT_MANAGER,
APP_CONTENT_CREATOR,
APP_CLIENT
resend_invitation
boolean

True to send an invitation not accepted yet again, with a new link. Leave role out.

Response

The person after the change.

A teammate, or someone invited who hasn't accepted yet.

id
integer
required

The person's account id: the {id} to update or remove them.

workspace_id
integer
required
name
string
required

Their name. Until they set one, it is the email address's part before the @.

email
string<email>
required
avatar_url
string
required

Their photo, or a picture of their initials.

role
object
required

A role in a workspace.

is_active
boolean
required

False while the invitation isn't accepted yet.