文章 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

否