This method returns details about the API key used.
No input parameters are required.
This method returns an Object containing the details of the API key:
enabledApis
- an Array containing the list of enabled APIscreatedAt
- a String representing the UTC date and time when the API key was generated
Request:
{
"params": {},
"jsonrpc": "2.0",
"method": "getApiKeyDetails",
"id": "787b5e36-89a8-4353-88b9-6b7a32e9c87f"
}
Response:
{
"id": "787b5e36-89a8-4353-88b9-6b7a32e9c87f",
"jsonrpc":"2.0",
"result": {
"enabledApis": [
"packages",
"network",
"policies",
"reports"
],
"createdAt": "2019-04-11T12:00:54"
}
}