Mohd Nazim
Mohd Nazim

Reputation: 11

Getting 404 for authentication API for Xray JIRA Cloud

I am using JRIA cloud and trying to authenticate by using below API

API Endpoint https://.atlassian.net/api/v1/authenticate Header Content-Type : application/json POST Body { "client_id": "<client_id>","client_secret": "<cleint_secret>" }

Getting 404 error code

Upvotes: 0

Views: 425

Answers (1)

Cristiano Cunha
Cristiano Cunha

Reputation: 391

The endpoint is not correct, in cloud you need to target: https://xray.cloud.getxray.app/api/v2/authenticate in order to authenticate.

Replace https://.atlassian.net/api/v1/authenticate by https://xray.cloud.getxray.app/api/v2/authenticate and it should work.

Upvotes: 1

Related Questions