Teams
Read more about teams from Teams documentation.
Get a list of teams
GET
https://api.prompteasy.eu/v1/teams
Response
A list of teams
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Create a new team
POST
https://api.prompteasy.eu/v1/teams
Body
application/json
namestringTeam name
Example
Tech Teamuser_ idintegerUser id to be added as admin
Example
1Response
Team object
403Forbidden
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Get a single team
GET
Parameters
teamintegerrequiredpathResponse
Team object with users
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Update a team
PUT
Body
application/json
namestringTeam name
Example
Tech Teamuser_ idintegerUser id to be added as admin
Example
1Parameters
teamintegerrequiredpathResponse
Team object
403Forbidden
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Delete a team
DELETE
Parameters
teamintegerrequiredpathResponse
204No Content
No Content
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Get a list of users in a team
GET
Parameters
teamintegerrequiredpathResponse
Team object with users
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Add a member to a team
POST
Body
application/json
idintegerUser id
Example
1rolestringExample
viewerParameters
teamintegerrequiredpathResponse
Team object with users
403Forbidden
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Get a list of vaults in a team
GET
Parameters
teamintegerrequiredpathResponse
A list of vaults
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Edit a member's role in a team
Body
application/json
rolestringExample
viewerParameters
teamintegerrequiredpathuserintegerrequiredpathResponse
Team object with users
403Forbidden
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Remove a member from a team
Parameters
teamintegerrequiredpathuserintegerrequiredpathResponse
204No Content
No Content
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)