Give a user membership to a team, granting access to all the accounts the team has access to
Requires the USER.MORTAL.UPDATE permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
resourceId
The ID of the resource for which the action is posted.
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
account_membershipsDeprecated
Response
Created
team_id
The id of this team membership
start_at
The start date from when this membership is valid
end_at
The end date till which this membership is valid
account_membershipsDeprecated
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error