curl --request POST \--url 'http://xxx:8080/rest/api/2/user' \--user 'xxx@qq.com:my-api-token' \--header 'Accept: application/json' \--header 'Content-Type: application/json' \--data '{"password": "123456","emailAddress": "test@test.com","displayName": "sunny","name": "sunny"}'
Error code 401 says You are unauthenticated. Kindly verify the credentials used for user creation.
Hello, I have applied for and used api_token, how to verify it? Is my usage method wrong? Can you give me an example? For example, the email is xxx@139.com, api_token is abc_xxxxxxxxxxx, and url is http://xxx:8080/rest/api/2/user
Hi,
Is your JIRA instance a cloud hosted one? If so, can you confirm if the URL in your POST call is correct?
It looks like you're new here. Sign in or register to get started.