Create an email category

Creates a new category in the account mailbox, which can then be assigned to emails through the categories field. A category name is unique within a mailbox: creating one with a name already in use returns a conflict.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^acc_(.*)$

ID of the Account (acc_xxx) to call the method on behalf of.

Body Params
string
required
length ≥ 1

Name of the category. A category name is unique within a mailbox, so it must not already be used by another category.

string

Color identifier to assign to the category. Outlook accepts none and preset0 to preset24; any other value is rejected with an error listing the accepted values. Defaults to no color. See the color mapped to each preset.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json