Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

This resource requires websudo

Salmane Hmiza (Requirement Yogi)
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!
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
TAGS
AUG Leaders

Atlassian Community Events