ERIP
API ReferencePublicAuth

/api/v1/Auth/api-keys

POST
/api/v1/Auth/api-keys

Authorization

ApiKey Bearer
X-Api-Key<token>

Provide your API key in the X-Api-Key header.

In: header

AuthorizationBearer <token>

Enter a JWT token obtained from /api/v1/auth/login.

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://loading/api/v1/Auth/api-keys" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "rawKey": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
  "name": null,
  "keyPrefix": null,
  "createdAt": "2019-08-24T14:15:22Z",
  "expiresAt": null,
  "isActive": true
}
{
  "type": null,
  "title": null,
  "status": null,
  "detail": null,
  "instance": null
}