Skip to main content
PATCH
Update a team member

Authorizations

Authorization
string
header
required

Use the Authorization header with Bearer scheme.

Examples:

  • API Key: Authorization: Bearer calid_xxxxx

Path Parameters

teamId
integer
required

Numeric team identifier.

Required range: x > 1
Example:

42

membershipId
integer
required

Numeric team membership identifier.

Required range: x > 1
Example:

1001

Body

application/json
role
enum<string>

Role granted to the team member.

Available options:
MEMBER,
ADMIN,
OWNER
Example:

"MEMBER"

acceptedInvitation
boolean

Whether the invitation is already accepted.

Example:

false

impersonation
boolean

Whether impersonation capabilities are enabled for this membership.

Example:

true

Response

Team membership updated successfully

Team membership updated successfully

success
enum<boolean>
required
Available options:
true
data
object
message
string
meta
object