Management APIs
cURL
curl --request POST \ --url https://api.basic.tech/project/{id}/key \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "label": "<string>", "roles": "<string>" }'
{ "key": { "id": "<string>", "label": "<string>", "roles": "<string>", "value": "<string>", "created_at": "2023-11-07T05:31:56Z" } }
Creates a new API key for the project with specified permissions
JWT Authorization Token header using the Bearer scheme
Unique identifier of the project
API key created successfully