Accounts-account-email-domain-webmail:PUT

(Difference between revisions)
Jump to: navigation, search
 
m (1 revision: Release 87)

Revision as of 16:24, 15 November 2013

PUT /accounts/{account}/email/{domain}/webmail

Change the OpenXchange allowUpgrade option.

Contents


Request

PUT /accounts/{account}/email/{domain}/webmail

URI Parameters

account - string
domain - 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

{
    "allowUpgrade": {allowUpgrade}
}
 


Parameters

allowUpgrade - boolean
OpenXchange allowUpgrade option value.

Response

Status Code

204 No Content
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

Failure updating the domain settings without any options

Request

PUT /accounts/test/email/test.com/webmail

{}
 

Response

400 Bad Request

{"allowUpgrade": "Required"}
 

Success updating the allowUpgrade value

Request

PUT /accounts/test/email/test.com/webmail

{"allowUpgrade": true}
 

Response

204 No Content


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox