Vaults
Read more about vaults from Vaults documentation.
Get a list of vaults
GET
https://api.prompteasy.eu/v1/vaults
Response
A list of vaults
401Unauthorized
Unauthorized
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Create a new vault
POST
https://api.prompteasy.eu/v1/vaults
Body
application/json
namestringExample
My VaultdescriptionstringExample
A vault for my promptsteam_ idinteger | nullExample
1tenant_ vaultbooleanExample
truepublic_ vaultbooleanExample
trueResponse
Vault object
401Unauthorized
Unauthorized
403Forbidden
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Detach a vault
POST
Parameters
vaultintegerrequiredpathResponse
204No Content
No Content
401Unauthorized
Unauthorized
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Attach a vault
POST
Body
application/json
team_ idinteger | nullExample
1tenant_ vaultbooleanExample
trueParameters
vaultintegerrequiredpathResponse
204No Content
No Content
401Unauthorized
Unauthorized
403Forbidden
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Get a single vault
GET
Parameters
vaultintegerrequiredpathResponse
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Update a vault
PUT
Body
application/json
namestringExample
My Vaultdescriptionstring | nullExample
An updated description for my vaultpublic_ vaultbooleanExample
trueParameters
vaultintegerrequiredpathResponse
Vault object
401Unauthorized
Unauthorized
403Forbidden
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Delete a vault
DELETE
Parameters
vaultintegerrequiredpathResponse
204No Content
No Content
401Unauthorized
Unauthorized
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)