Disable an account using REST APi not working

James Inger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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