Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Interface Information

Name

Create a new user

Address

/rest/tools/1.0/api/user/create

Method

POST

Return Type

Json

Authentication

Basic,token

Header Parameter

Parameter name

Required

Parameter type

Description

ContentType

Y

String

application/json

body Parameters

Parameter name

Required

Parameter type

Description

name

Y

String

username

fullName

Y

String

full name

email

Y

String

email

password

Y

String

password

groups

N

String[]

List of group names. Add the created user to the group in the list, and join the confluence-user group by default.

return value format

Field

Type

Description

code

int

Appendix - Code

msg

String

data

String

{

    "name":"user name",

    "key":"user key",

    "fullName":"full name",

    "email":"email"

}

...