Change Public Name via API

TMonatisa
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2025

Good day

I am trying to create a forge app to change any users public name. I have battling to get a response from this endpoint:

https://api.atlassian.com/users/accountId/manage/profile

I generated a API token and it keeps saying error 401. 

2 answers

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 28, 2025

Hi @TMonatisa 

Welcome to the community.

The User management REST API provides resources to administer and edit managed accounts.

So this is to manage users that are managed by an IDP. So I don't think you can use this in an app.

This because you are not in the position to manage the IDP endpoint.

Even if there was an API for non managed users, the option in a profile are only adjustable by the user.

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 28, 2025

Hi,

welcome to the community.

Did the token work when you try a simple get ?

try to generate a new token

 

 

Suggest an answer

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

Atlassian Community Events