This resource requires websudo

Salmane Hmiza (Requirement Yogi) July 31, 2019

I'm trying to add a user through rest api:

/rest/api/2/user

payload: 

{
"name": "test",
"password": "test",
"emailAddress": "test@test.com",
"displayName": "test",
"notification": "false"
}

Using basic authentification

i get 401: this resource requires websudo while it is disabled in jira's configuration

Screenshot 2019-07-31 at 10.59.33.png

what am i missing

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 12, 2019

Hey Salmane,

Can I ask if you're running this against a Jira Cloud instance or a Jira Server, and if Server, which version?

We recently made changes to Jira Cloud that require you to use an API token when authenticating with basic authorization, although the error you'd get is different than the error you're seeing right now.

Thanks,
Daniel | Atlassian Support

Suggest an answer

Log in or Sign up to answer