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

Path Parameters

orgId
number
required
teamId
number
required

Body

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

Response

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