POST
/
v2
/
teams
/
{teamId}
/
memberships

Path Parameters

teamId
number
required

Body

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

Response

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