cURL
curl --request POST \ --url http://localhost:4000/v1/api-keys \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "scopes": [ "read", "write" ] } '
Use this format: ApiKey <your_api_key>
ApiKey <your_api_key>
Name of the API Key
Description of the API key
Scopes for the API Key
admin
internal
external
integrator
["read", "write"]
API key created