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
what am i missing
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.