Radicas Docs
API referenceGenerated

Create Key

POST
/keys

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/keys" \  -H "Content-Type: application/json" \  -d '{}'
{  "key_id": "1e779c8a-6786-4c89-b7c3-a6666f5fd6b5",  "raw_key": "string",  "key_prefix": "string",  "label": "string",  "scope": "string",  "created_at": "2019-08-24T14:15:22Z"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}