How to update user at the confluence (Cloud ) with rest api

tapendra May 3, 2021

As an admin, can I update user information at the confluence (Cloud) and Can I reallocate a user from one group to another group

1 answer

1 accepted

1 vote
Answer accepted
Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 3, 2021

Dear @tapendra ,

welcome to the community.

You can remove a user with acountId "5b10ac8d82e05b22cc7d4ef5" from a group brokers with:

DELETE /wiki/rest/api/group/user?name=brokers&accountId=5b10ac8d82e05b22cc7d4ef5

You can add a user to a group scientists with:

POST /wiki/rest/api/group/user?name=scientists

JSON Post Data:

{
"accountId": "5b10ac8d82e05b22cc7d4ef5"
}

The accountId for the user alice can be got with:

GET /wiki/rest/api/user/bulk

See more details within the rest reference.

Can I update user information at the confluence?

You can't update user information with rest.

So long

Thomas

tapendra May 3, 2021

Thanks @Thomas Deiler ,it is really helpful . I have one more question , Can I invite a user with their emailid on confluence  with confluence rest API

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 4, 2021

You can't do with the Confluence REST API.

User provisioning works different. Have a look at its own REST API documentation.

Suggest an answer

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

Atlassian Community Events