文章 Create User REST 端点

URLs

POST api/v1/users.xml (or .json)

CREATE users.

请求参数

名称

类型

描述

必需

默认值

选项

Users

RestUser[]

One or more Users to create. The submission of multiple users is deprecated, will be removed and should not be used for new development. Instead create one user per Create request and supply user properties for the request properties (Username, Password, etc.).

Username

string

Username

Password

string

Password

PrivateEmail

string

Private Email

DisplayName

string

Display Name

AllowSitePartnersToContact

bool?

Allow Site Partners To Contact

AllowSiteToContact

bool?

Allow Site To Contact

Bio

string

Bio

Birthday

DateTime?

Birthday

IsBirthdaySet

bool?

Is Birthday Set

EditorType

string

Editor Type

EnableCommentNotifications

bool?

EnableCommentNotifications is deprecated, please use the Notifications API instead.

EnableConversationNotifications

bool?

EnableConversationNotifications is deprecated, please use the Notifications API instead.

EnableDisplayInMemberList

bool?

Enable Display In Member List

EnableDisplayName

bool?

Enable Display Name

EnableEmoticons

bool?

Enable Emoticons

EnableFavoriteSharing

bool?

Enable Favorite Sharing

ReceiveEmails

bool?

Receive Emails

EnableHtmlEmail

bool?

Enable Html Email

EnableTracking

bool?

EnableTracking is deprecated and will be removed in a future release.

Gender

Gender?

Gender

Language

string

Language

Location

string

Location

PostSortOrder

SortOrder

Post Sort Order

PublicEmail

string

Public Email

Signature

string

Signature

TimeZone

double?

Time Zone

TimeZoneId

string

Time Zone Id

WebUrl

string

Web Url

ProfileFields

RestProfileFields

Profile Fields

ExtendedAttributes

RestExtendedAttributes

Extended Attributes

RssFeeds

string

A comma delimited list of RSS feeds

SendEmail

bool?

Send Email