We are using a token generated for a service account to access: developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/#api-spaces-get
With permissions assigned, we still receive a 401 and cannot determine which permissions are still missing.
Can you offer any advice.
Hi,
Welcome to the community,
Are you using this base url : https://api.atlassian.com/ex/confluence/{cloudID} ?
Hi @Jon Caines
Welcome to the community.
@Mohamed Benziane is correct, if you use a service account, to use API, you need to use the url mentioned
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks for the welcome @Mohamed Benziane and for the feedback. We are using the one in the documentation https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/#api-spaces-get
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jon Caines
I see, but the prefix, before using this API endpoint, you need to use the url, mentioned by @Mohamed Benziane
You can't use https://<instance-name>\...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.