Logo
Akamai APIs API Documentation

Get a credential

GET https://{{host}}/identity-management/v3/api-clients/:clientId/credentials/:credentialId

This operation returns details about a specific credential for an API client. To change the credential's expiration date or toggle its activation status, run the Update credential for an API client operation.

 

Body PARAM

Key Datatype Required Description 
actions
string (Optional) Includes actions you can perform on the object, `false` by default.
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "clientToken": "0000-0000000000000000-000000000000000", "createdOn": "2020-11-01T23:06:59.000Z", "credentialId": 99999, "description": "Credential with no secret", "expiresOn": "2021-11-01T23:06:59.000Z", "maxAllowedExpiry": "2021-11-01T23:06:59.000Z", "status": "ACTIVE" }



Curl
curl -X GET 'https://host/identity-management/v3/api-clients/:clientId/credentials/:credentialId?actions=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS