Skip to main content

Close Connection

This method terminates the session token.

This is a DELETE method.

REST URL

https://atmp-pub-api-www3.actito.com/transactional-api-ws/application.wadl
Input parameters
Required parameters
DescriptionOutput parametersDescription
tokenThe connection tokenreturnThe connection is closed if the operation was successful, otherwise an error code appears.

REST Example​

Input​

Method Type

DELETE

URL

https://atmp-pub-api-www3.actito.com/transactional-api-ws/authorization

Header

Content-type: application/json
Authorization: Basic {Base64 encoded token}

Output​

Status

204

Error Descriptions​

Error Output Format Example​

{
"id": "7d7d0654-5001-43ca-9b57-b89297a4f85b",
"status": 400,
"message": "error message"
}

Error Messages​

  • The list below shows the possible error messages for the Transactional Messaging with Attachments API:
  • An internal error has occurred. Please contact the Support Team if the error persists.
  • The requested resource cannot be found0.
  • The credentials you entered are incorrect.
  • The Authorization header is missing.
  • The Authorization header is incorrectly encoded.
  • Basic authentication information is missing.
  • The JSON object body is either invalid or missing.
  • The following fields are missing or invalid.
  • You do not have the following user rights for the MESSAGE feature: 0.
  • The field ''0'' is required.
  • You must include either the 'apiKey' field or the 'partnerKey' field.
  • The field ''0'' must be numeric.
  • The length of field ''0'' is greater than 1.
  • Your sender is not validated for this type of message.
  • No sender found with this address 0 for this type of message.
  • Parameter ''0'' too long (max {1,number,#}).
  • Invalid parameter: ''0''.
  • The field ''0'' contains an invalid email value.
  • The body of an email message must begin with [EMV TEXTPART] OR [EMV HTMLPART].
  • The Transactional Message 0 cannot be deleted because it has already been sent.
  • The encoding is incorrect. Choose an encoding from this list: iso-8859-15, UTF-8, windows-1251, Big5, GB2312, EUC-KR, Shift_JIS, iso-8859-2, iso-8859-3, iso-8859-7.
  • Page 0 is invalid.
  • Your JSON has an invalid parameter.