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

Delete user

Deletes the given User identified by username. This action is processed asynchronously.

DELETE/rest/api/admin/user/{username}
Path parameters
usernamestringrequired

the username identifying the given user

Responses
202

Produces a HTTP Accept 202 response from some other resource pointing to this class's LongTaskStatus resource.

idstring
linksobject
statusPathstring
resultPathstring
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 DELETE 'http://example.com:7990/confluence/rest/api/admin/user/string' \
  -H 'Accept: application/json'
Response
{
  "id": "string",
  "links": {
    "result": "http://localhost:8080/confluence/rest/api/longtask/123/result",
    "status": "http://localhost:8080/confluence/rest/api/longtask/123/status"
  },
  "statusPath": "status",
  "resultPath": "result"
}

Was this page helpful?