Openi DeveloperDeveloper

Create API key (tenant)

POST
/v1/api-keys

Authorization

ApiKeyAuth
x-api-key<token>

Tenant API key

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

label*string
scopes?array<string>
Default[]

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/api-keys" \  -H "Content-Type: application/json" \  -d '{    "label": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "label": "string",  "scopes": [],  "active": true,  "created_at": "2019-08-24T14:15:22Z",  "key": "string"}