Disable a Mailbox

 

Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials

Disables a mailbox.

POST services/builtin/MailboxManagement.svc/mailbox/disable?username={username}

{username}
The name of a user that has a mailbox.

POST https://www.contoso.com/services/builtin/MailboxManagement.svc/mailbox/disable?username=user1 HTTP/1.1  
Content-Type: application/xml  
Accept: application/xml  
Cookie: ASP.NET_SessionId=********************  
Canary: *********************  
Host: domainname  
Content-Length: 0  

HTTP/1.1 200 OK  

Error CodeError Message
400One or more parameters are not valid.
404The path does not exist.
500An internal server error occurred.
501Not implemented.

Web Service Methods

Community Additions

ADD
Show: