Aurion Docs
Api

Create Api Key

POST
/api/v1/api-keys
AuthorizationBearer <token>

In: header

Request Body

application/json

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/api-keys" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "scopes": [      "string"    ]  }'
{
  "api_key": "string",
  "created_at": "string",
  "description": "string",
  "expires_at": "string",
  "id": "string",
  "key_prefix": "string",
  "name": "string",
  "scopes": [
    "string"
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}