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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.