Creates an email credential.
SMTP credential resource.
SMTP credential created.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
host required | string SMTP host name. | ||||||||
hash | string <= 50 characters Unique resource ID. Defaults to UUID v4. | ||||||||
status | string Status of the credential.
| ||||||||
deactivationTime | string <date-time> Date and time when the credential is deactivated. | ||||||||
port | integer [ 1 .. 65535 ] Default: 25 SMTP port value. | ||||||||
encryption | string Default: "none" Encryption value. | ||||||||
object (SmtpAuthorization) Authentication type and details. | |||||||||
Array of objects (SelfLink) Related links. | |||||||||
Existing SMTP credential retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
Invalid data sent.
{- "status": "active",
- "host": "string",
- "port": 25,
- "encryption": "none",
- "auth": {
- "type": "none"
}
}
{- "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"
}
]
}