Management APIs
cURL
curl --request POST \ --url https://api.basic.tech/project/{id}/key/verify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "key": "<string>", "key_id": "<string>" }'
{ "is_valid": true, "key": { "id": "<string>", "label": "<string>", "roles": "<string>", "created_at": "2023-11-07T05:31:56Z" } }
Verifies if an API key is valid for the project and returns its associated permissions
JWT Authorization Token header using the Bearer scheme
Unique identifier of the project
API key verification result