POST
/
v2
/
organizations
/
{orgId}
/
teams
/
{teamId}
/
memberships

Path Parameters

orgId
number
required
teamId
number
required

Body

application/json
userId
number
required
role
enum<string>
default: MEMBERrequired
Available options:
MEMBER,
OWNER,
ADMIN
accepted
boolean
default: false
disableImpersonation
boolean
default: false

Response

201 - application/json
status
enum<string>
required
Available options:
success,
error
data
object
required