Skip to content

Latest commit

 

History

History
88 lines (54 loc) · 1.88 KB

UserApi.md

File metadata and controls

88 lines (54 loc) · 1.88 KB

UserApi

All URIs are relative to https://<CONFLUENCE_URL>/rest/bootstrapi/1

Method HTTP request Description
getUser GET /user Get a user
setUser PUT /user Update an user
setUserPassword PUT /user/password Update a user password

getUser

UserBean getUser(username)

Get a user

Parameters

Name Type Description Notes
username String [default to null]

Return type

UserBean

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

setUser

UserBean setUser(username, UserBean)

Update an user

Parameters

Name Type Description Notes
username String [default to null]
UserBean UserBean

Return type

UserBean

Authorization

basicAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

setUserPassword

UserBean setUserPassword(username, body)

Update a user password

Parameters

Name Type Description Notes
username String [default to null]
body String

Return type

UserBean

Authorization

basicAuth

HTTP request headers

  • Content-Type: text/plain
  • Accept: application/json