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

Response fields application/json
Show child attributes
idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Create a new team

POST
https://api.prompteasy.eu/v1/teams

Body

application/json
namestring

Team name

Example
Tech Team
user_idinteger

User id to be added as admin

Example
1

Response

201CreatedTeam

Team object

Response fields application/json
idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
403Forbidden

Forbidden

422Unprocessable EntityValidationError

Unprocessable Entity

Response fields application/json
messagestring
Example
Validation failed
Show child attributes
nameArray<string>

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get a single team

GET
https://api.prompteasy.eu/v1/teams/{team}

Parameters

teamintegerrequiredpath

Response

Team object with users

Response fields application/json

Represents a team entity along with its assigned member details and permission scopes.

idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
Show child attributes
idinteger
Example
1
namestring
Example
John Doe
emailstring
Example
foo@bar.invalid
email_verified_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
user_levelstring
Example
moderator
superadmin_capabilitiesArray<string> | nulloperativefinancelegal

Granular capabilities array for superadmin users (operative, finance, legal)

Example
[
  "operative",
  "finance",
  "legal"
]
created_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
updated_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
tenant_idinteger
Example
1
last_active_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
aup_accepted_atstring<date-time> | null
Example
2026-08-15T12:00:00+00:00
aup_version_numberinteger | null
Example
1

In some cases superadmin can see user tokens

Show child attributes
idinteger
Example
1
tokenstring
Example
1|...
created_atstring<date-time>
last_used_atstring<date-time> | null
403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Update a team

PUT
https://api.prompteasy.eu/v1/teams/{team}

Body

application/json
namestring

Team name

Example
Tech Team
user_idinteger

User id to be added as admin

Example
1

Parameters

teamintegerrequiredpath

Response

200OKTeam

Team object

Response fields application/json
idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
403Forbidden

Forbidden

422Unprocessable EntityValidationError

Unprocessable Entity

Response fields application/json
messagestring
Example
Validation failed
Show child attributes
nameArray<string>

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Delete a team

DELETE
https://api.prompteasy.eu/v1/teams/{team}

Parameters

teamintegerrequiredpath

Response

204No Content

No Content

403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get a list of users in a team

GET
https://api.prompteasy.eu/v1/teams/{team}/members

Parameters

teamintegerrequiredpath

Response

Team object with users

Response fields application/json

Represents a team entity along with its assigned member details and permission scopes.

idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
Show child attributes
idinteger
Example
1
namestring
Example
John Doe
emailstring
Example
foo@bar.invalid
email_verified_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
user_levelstring
Example
moderator
superadmin_capabilitiesArray<string> | nulloperativefinancelegal

Granular capabilities array for superadmin users (operative, finance, legal)

Example
[
  "operative",
  "finance",
  "legal"
]
created_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
updated_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
tenant_idinteger
Example
1
last_active_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
aup_accepted_atstring<date-time> | null
Example
2026-08-15T12:00:00+00:00
aup_version_numberinteger | null
Example
1

In some cases superadmin can see user tokens

Show child attributes
idinteger
Example
1
tokenstring
Example
1|...
created_atstring<date-time>
last_used_atstring<date-time> | null
403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Add a member to a team

POST
https://api.prompteasy.eu/v1/teams/{team}/members

Body

application/json
idinteger

User id

Example
1
rolestring
Example
viewer

Parameters

teamintegerrequiredpath

Response

Team object with users

Response fields application/json

Represents a team entity along with its assigned member details and permission scopes.

idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
Show child attributes
idinteger
Example
1
namestring
Example
John Doe
emailstring
Example
foo@bar.invalid
email_verified_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
user_levelstring
Example
moderator
superadmin_capabilitiesArray<string> | nulloperativefinancelegal

Granular capabilities array for superadmin users (operative, finance, legal)

Example
[
  "operative",
  "finance",
  "legal"
]
created_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
updated_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
tenant_idinteger
Example
1
last_active_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
aup_accepted_atstring<date-time> | null
Example
2026-08-15T12:00:00+00:00
aup_version_numberinteger | null
Example
1

In some cases superadmin can see user tokens

Show child attributes
idinteger
Example
1
tokenstring
Example
1|...
created_atstring<date-time>
last_used_atstring<date-time> | null
403Forbidden

Forbidden

422Unprocessable EntityValidationError

Unprocessable Entity

Response fields application/json
messagestring
Example
Validation failed
Show child attributes
nameArray<string>

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get a list of vaults in a team

GET
https://api.prompteasy.eu/v1/teams/{team}/vaults

Parameters

teamintegerrequiredpath

Response

A list of vaults

Response fields application/json
Show child attributes
idinteger
Example
1
tenant_idinteger
Example
1
team_idinteger | null
Example
1
tenant_vaultboolean
Example
true
public_vaultboolean
Example
true
defaultboolean
Example
false
namestring
Example
My Vault
descriptionstring
Example
A vault for my prompts
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
teamTeam
Show child attributes
idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Edit a member's role in a team

PUT
https://api.prompteasy.eu/v1/teams/{team}/members/{user}

Body

application/json
rolestring
Example
viewer

Parameters

teamintegerrequiredpath
userintegerrequiredpath

Response

Team object with users

Response fields application/json

Represents a team entity along with its assigned member details and permission scopes.

idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
Show child attributes
idinteger
Example
1
namestring
Example
John Doe
emailstring
Example
foo@bar.invalid
email_verified_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
user_levelstring
Example
moderator
superadmin_capabilitiesArray<string> | nulloperativefinancelegal

Granular capabilities array for superadmin users (operative, finance, legal)

Example
[
  "operative",
  "finance",
  "legal"
]
created_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
updated_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
tenant_idinteger
Example
1
last_active_atstring<date-time>
Example
2025-12-02T18:24:52+00:00
aup_accepted_atstring<date-time> | null
Example
2026-08-15T12:00:00+00:00
aup_version_numberinteger | null
Example
1

In some cases superadmin can see user tokens

Show child attributes
idinteger
Example
1
tokenstring
Example
1|...
created_atstring<date-time>
last_used_atstring<date-time> | null
403Forbidden

Forbidden

422Unprocessable EntityValidationError

Unprocessable Entity

Response fields application/json
messagestring
Example
Validation failed
Show child attributes
nameArray<string>

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Remove a member from a team

DELETE
https://api.prompteasy.eu/v1/teams/{team}/members/{user}

Parameters

teamintegerrequiredpath
userintegerrequiredpath

Response

204No Content

No Content

403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)