Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Disable an account using REST APi not working

James Inger May 10, 2023

I am trying to disable a user via the REST api

https://[DOMAIN].atlassian.net/rest/api/3/user

using the Basic auth - email address and Token

 

The body is (raw) JSON

{
"active"false,
"emailAddress""...................."
}

But then I get a 500 error as below

{
    "errorMessages": [
        "The request failed. We're not sure what went wrong. Try again and if the problem persists, contact Jira support."
    ],
    "errors": {}
}
Any ideas ????

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events