Returns details of the key_pair requested
| Param name | Description |
|---|---|
|
pretty optional |
Return a pretty formatted response if true, Default is false Value: Must be a Boolean |
|
is_oem optional |
Returns key pair of child account if is_oem flag is true. Value: Must be one of: <code>true</code>, <code>false</code>, <code>true</code>, <code>false</code>. |
|
child_organisation_key optional |
Organisation key of child account whose key pair oem user wants to see. Required field if is_oem is present. Value: Must be a String |
Request - get details of the specified key_pair (key_pair_key specified as a part of the url)
curl -X GET -H "Content-Type:application/json" -H "X-Auth-Token:WtUFnj8pvSxVnH9e_xkq7A" https://api.datonis.io/api/v3/key_pairs/t711t338ttf7b36c4cb27dc9d4acf62ta8c75a7f
Response (returns details of the key_pair requested)
{
"key_pair": {
"access_key": "t711t338ttf7b36c4cb27dc9d4acf62ta8c75a7f",
"enabled": false,
"expiry_date": "2015-10-29T18:30:00.000Z",
"secret_key": "fte4bc52f791eb8513ac71a52ff5463t1bbf2tf9",
"key_pair_key": "t711t338ttf7b36c4cb27dc9d4acf62ta8c75a7f",
"created_at": 1446017446,
"updated_at": 1446104758,
"role_name": "Agent",
"role_key": "1946c4ce5c"
}
}