Python
import requests url = "https://{FUSION HOST}/api/api-key/{id}" response = requests.get(url) print(response.json())
{ "name": "lw-demo-se", "id": "api-key-lw-demo-se-17586568872861", "createdAt": "2025-09-23T19:48:07Z", "roles": [ "admin" ] }
Fetch the API key with the specified ID. Note that the ID is different than the key name. Use GET /api-key to fetch the complete list of existing keys.
GET /api-key
The API key ID.
Success.
"2025-09-23T17:48:07Z"
One or more user roles. Use GET /roles to get the list of existing roles.
GET /roles
Was this page helpful?