Api call wiki/rest/api/user?accountId always returns "no matches found"

Thomas Clausmeyer April 8, 2023

Asking for Current user works find. But requests using the given back accountID never find matches.

2 answers

1 accepted

0 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 9, 2023

Hi @Thomas Clausmeyer ,

welcome to the Atlassian community!

Probably you are using the wrog account parameter value. As specified here https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users/#api-wiki-rest-api-user-get accountId is : The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.

Fabio

1 vote
Thomas Clausmeyer April 9, 2023

Thank you. With the syntax according to the link, it works!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events