Teams
The token received in the mail
Invitation has been accepted
The team ID
The team owner ID
The workspace user account that currently owns the team (transferable)
The team name
The organization name for the team (customer entity)
The billing email for the team
Error accepting the invitation
Transaction limit reached or upgrade required to proceed
POST /teams/accept-member-invite HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"accept_invitation_token": "text"
}{
"id": 1,
"team_owner_id": 1,
"owner_user_id": 1,
"name": "text",
"organization_name": "text",
"billing_email": "text"
}An ID
The emails list
Invitations have been sent
Default response
Error sending the invitations
You are not the owner or the administrator of this team
Transaction limit reached or upgrade required to proceed
POST /teams/{id}/invite HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"emails": []
}{
"code": 1
}An ID
The new team name
The team data retention policy
Whether to store the subject reference in the team
Team has been updated
The team ID
The team owner ID
The workspace user account that currently owns the team (transferable)
The team name
The organization name for the team (customer entity)
The billing email for the team
Error updating team
You are not the owner or the administrator of this team
PATCH /teams/{id} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"name": "text",
"retentionPolicy": {},
"storeSubjectRef": true
}{
"id": 1,
"team_owner_id": 1,
"owner_user_id": 1,
"name": "text",
"organization_name": "text",
"billing_email": "text"
}An ID
How many items to offset by for pagination
0How many items to return at one time (max 64)
64Filter invitations by status (pending, canceled, accepted)
A paged array of invitations
The team member invitation ID
The team member invitation email
The team member invitation status
Application error
GET /teams/{id}/invitations HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"email": "text",
"status": "pending"
}
]An ID
An ID
The invitation has been resent
Default response
Application error
You are not the owner or the administrator of this team
Invitation not found
POST /teams/{id}/invitations/{invitation_id}/resend HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"code": 1
}An ID
An ID
The invitation has been canceled.
Default response
Application error
You are not the owner or the administrator of this team
Invitation not found
POST /teams/{id}/invitations/{invitation_id}/cancel HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"code": 1
}An ID
How many items to offset by for pagination
0How many items to return at one time (max 64)
64A paged array of team members
The team member ID
The team member name
The team member email
The team member image
The team member role
Application error
GET /teams/{id}/members HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"name": "text",
"email": "text",
"image": "text",
"role": "member"
}
]An ID
An ID
Team member deleted
No content
Error deleting team member
You are not the owner or the administrator of this team
Team member was not found
DELETE /teams/{id}/members/{user_id} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
An ID
An ID
The new team member role
Team member updated
The team member ID
The team member name
The team member email
The team member image
The team member role
Error updating team member
You are not the owner or the administrator of this team
Team member was not found
PATCH /teams/{id}/members/{user_id} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"role": "member"
}{
"id": 1,
"name": "text",
"email": "text",
"image": "text",
"role": "member"
}Last updated
Was this helpful?