Create Cli Key
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
device?string|null
isReadOnly?boolean|null
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/me/cli-keys" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "name": "string", "prefix": "string", "end": "string", "rawKey": "string", "createdAt": "string"}{ "error": { "type": "invalid_request", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unauthenticated", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "permission_denied", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "internal", "code": "string", "message": "string", "param": "string" }}