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 ????