Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Enable user

Enables the given User identified by username. This method is idempotent i.e. if the user is already enabled then no action will be taken.

PUT/rest/api/admin/user/{username}/enable
Path parameters
usernamestringrequired

the username identifying the given user

Responses
204

returns no content if the user is enabled

401

The calling user is not authenticated or does not have the <b>LICENSED</b> permission.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
403

The calling user does not have permission to perform this action.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
404

No User exists for the provided username.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
Try it
Server
Parameters
Request
curl -X PUT 'http://example.com:7990/confluence/rest/api/admin/user/string/enable' \
  -H 'Accept: application/json'
Response
returns no content if the user is enabled

Was this page helpful?