Retrieves a Mailgun credential with a specified token ID.
Mailgun credential retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
const details = await api.credentialHashes.getMailgunCredential({hash: 'foobar-001'}); console.log(details.fields.domain);
{- "hash": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "status": "active",
- "deactivationTime": "2019-08-24T14:15:22Z",
- "emailFrom": "user@example.com",
- "apiKey": "string",
- "domain": "string",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}