Accounts-account-email-domain-usernames-mailboxName-migration:POST

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
 
m (1 revision: Release 91)
 
(2 intermediate revisions by one user not shown)
Line 70: Line 70:
  
 
== See also ==
 
== See also ==
* [[Email Service API|Email Service API]]
+
* [[Email API|Email API]]
  
 
{{disqus}}
 
{{disqus}}
 
[[Category:Hostway API]]
 
[[Category:Hostway API]]
 
[[Category:Email API]]
 
[[Category:Email API]]

Latest revision as of 11:18, 11 March 2014

POST accounts/{account}/email/{domain}/usernames/{mailboxName}/migration

Creates a support ticket for failed mailbox migration

Contents


Request

POST accounts/{account}/email/{domain}/usernames/{mailboxName}/migration

URI Parameters

account - string
domain - string
mailboxName - string

Request Headers

Authorization - HTTP Authorization header [1]
The Authentication credentials of the client application.
Content-Type
Required. Set this header to application/json; charset=UTF-8


Request Body

{
    "subject": "{subject}", 
    "body": "{body}"
}
 


Parameters

subject - string
Subject of the support ticket
body - string
Body of the support ticket

Response

Status Code

201 Created
Success
400 Bad Request
The format of the request body is invalid or the username does not meet the requirements.
401 Unauthorized
The supplied credentials are invalid or do not provide permissions for this operation.
404 Not Found
The domain name does not exist.

Examples

Success creating a support ticket

Request

POST accounts/test-account123/email/test.com/usernames/john.smith/migration

{
   "subject": "subject"
   "body": "body", 
}
 

Response

201 Created
 

See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox