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 to verify
Optional key ID for more specific verification
API key verification result
Whether the API key is valid
Key details if valid
Show child attributes