application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/api-keys" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "projectId": "string" }'{ "end": "string", "id": "string", "isPublic": true, "name": "string", "prefix": "string", "projectId": "string", "rawKey": "string"}{ "_tag": "Api/SdkValidationError", "message": "string"}{ "_tag": "Api/AuthenticationError", "cause": "string", "message": "string"}{ "_tag": "Api/ActionForbiddenError", "message": "string"}{ "_tag": "Api/ApiKeyServiceError", "cause": "string"}