Reputation: 11
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
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