I need to invoke jira API with OAuth 2.0
i am following this documentation - OAuth 2.0 (3LO) apps
Now I am stuck in the stage of getting "cloudid" for my site.
I invoke that Get-API and got 200 Response, but I did not received expected response as mention in the documentation, what I have missed ?
expected response according to the documentation
[ { "id": "1324a887-45db-1bf4-1e99-ef0ff456d421", "name": "Site name", "url": "https://your-domain.atlassian.net", "scopes": [ "write:jira-work", "read:jira-user", "manage:jira-configuration" ], "avatarUrl": "https:\/\/site-admin-avatar-cdn.prod.public.atl-paas.net\/avatars\/240\/flag.png" } ]