Retrieves an email credential with a specified token ID.
Email credential retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
const details = await api.credentialHashes.getEmailCredential({hash: 'foobar-001'}); console.log(details.fields.host);
{- "hash": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "status": "active",
- "deactivationTime": "2019-08-24T14:15:22Z",
- "host": "string",
- "port": 25,
- "encryption": "none",
- "auth": {
- "type": "none"
}, - "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}