cURL
curl --request POST \ --url https://api.veryfront.com/api-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "scopes": [ "<string>" ], "expires_at": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "key": "<string>", "key_prefix": "<string>", "expires_at": "<string>", "created_at": "<string>", "scopes": [ "<string>" ] }
Creates an API key for the current user or project.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 255
API key created successfully