Key Management API
Describe the API key used for this request
Returns the key that authenticated this call, including its permission type and access policy, so a caller can tell what it may do before attempting it. The key value itself is never returned. Requires an API key; a session-authenticated call has no key to describe.
get/rest/api/v1/apiKeys/current
Response
OK
Example response
{
"accessPolicy": {
"enabled": true,
"endpointPolicyMode": "ALLOW_LIST",
"endpoints": [
{
"method": "GET",
"path": "/rest/api/v1/projects/{projectId}/strategies"
}
],
"fieldPolicyMode": "DENY_LIST",
"fields": [
{
"dtoClassName": "AccountInformationDTO",
"fieldName": "balance",
"fieldType": "java.math.BigDecimal"
}
]
}
}Changes
Changed in 1 of the 3 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○