API Keys
Operations related to API keys (generate and revoke your Enterprise X-Api-Key).
List Enterprise API Keys
GET
https://api.prompteasy.eu/v1/api-keys
Response
List of API keys
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Create a new Enterprise API Key
POST
https://api.prompteasy.eu/v1/api-keys
Body
application/json
servicestringrequiredExample
my-production-backendurlsstring | nullComma-separated list of allowed origin URLs where the API key can be used via browser
Example
https://tenant.com,https://app.tenant.comResponse
API key created successfully
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Revoke an Enterprise API Key
DELETE
Parameters
apiKeyintegerrequiredpathResponse
200OKobject
API key revoked successfully
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)