We are trying to make API calls to “forget” users as part of GDPR compliance. We understood that in order to delete an user account, there are several calls involved:
- Delete-use:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-rest-api-3-user-delete
To request delete of the user - In order to call the above, we need an AccountID, to get this we need to call get-user:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-rest-api-3-user-get - To make call number 2, we need a ““Bearer”: “<access_token>”” and we are unable to find the part of documentation that will help get this for us.
Can someone please help? To summarize, help me understand how to get a bearer token.