DELETE /v1/team/member/{id}
Description
200 OK indicates that the member was removed from the team.
Path Parameters
Example Response
{
"0dce7d85-8d61-41db-86bd-af005df755f4":{
"latency_ms":0,
"status":"error",
"message":"Failed to connect",
"last_checked_at":1624548189
}
}
POST /v1/team/invite
Description
Create a new team invite.
Body Parameters
Example Response
{
"id":"88f5b8b9-d077-4d10-b7db-fba4bd4eb937",
"email":"acidburn@hackers.sh",
"inviter_id":"d59d88ee-6a78-495d-872b-96d2799fd2f1",
"team":{
"id":"765f94d5-e61d-4043-a4a2-af5913d00f3d",
"name":"Batch"
}
}
GET /v1/team/member
Description
Get members of a team.
Example Response
{
"0dce7d85-8d61-41db-86bd-af005df755f4":{
"latency_ms":0,
"status":"error",
"message":"Failed to connect",
"last_checked_at":1624548189
}
}
GET /v1/account/team
Description
Get the teams that an account is part of.
Example Response
{
"0dce7d85-8d61-41db-86bd-af005df755f4":{
"latency_ms":0,
"status":"error",
"message":"Failed to connect",
"last_checked_at":1624548189
}
}
PUT /v1/account/team
Description
A new JWT will be returned with the new team associated with it, and the user's old JWT will be blacklisted
Body Parameters
Example Response
{
"0dce7d85-8d61-41db-86bd-af005df755f4":{
"latency_ms":0,
"status":"error",
"message":"Failed to connect",
"last_checked_at":1624548189
}
}
GET /v1/team/invite
Description
No body needed. A simple GET request will return all invites for the teamID present in the user's JWT.
Example Response
[
{
"id":"88f5b8b9-d077-4d10-b7db-fba4bd4eb937",
"email":"acidburn@hackers.sh",
"inviter_id":"d59d88ee-6a78-495d-872b-96d2799fd2f1",
"team":{
"id":"765f94d5-e61d-4043-a4a2-af5913d00f3d",
"name":"Batch"
}
}
]
POST /v1/sign-up/invitee/{id}
Description
Accept an invite.
Path Parameters
Body Parameters
Example Response
{
"0dce7d85-8d61-41db-86bd-af005df755f4":{
"latency_ms":0,
"status":"error",
"message":"Failed to connect",
"last_checked_at":1624548189
}
}
DELETE /v1/team/invite/{id}
Description
Cancel an active invite.
Path Parameters
Example Response
{
"0dce7d85-8d61-41db-86bd-af005df755f4":{
"latency_ms":0,
"status":"error",
"message":"Failed to connect",
"last_checked_at":1624548189
}
}
GET /v1/team/invite/{id}
Description
Fetch a team invite.
Path Parameters
Example Response
{
"0dce7d85-8d61-41db-86bd-af005df755f4":{
"latency_ms":0,
"status":"error",
"message":"Failed to connect",
"last_checked_at":1624548189
}
}
GET /v1/team/invite/{id}
Description
Get info about a specific invite.
Path Parameters
Example Response
{
"0dce7d85-8d61-41db-86bd-af005df755f4":{
"latency_ms":0,
"status":"error",
"message":"Failed to connect",
"last_checked_at":1624548189
}
}