REST API to Create/Delete Users

Hello! I just signed up to check out the REST API and found that the documentation mentions the operations supported on Users are Query and Modify.

Do we have support for Create and Delete Users as well? If not, are there plans to support those in the near future? Thanks!

Upvote 2
6 Kommentare
Spot On Innovative Approach Stellar Advice
Avatar

Hi! It is true that we do not have this functionality currently - it's partially explained by the fact that adding and removing users is something we permit to do from Workspace only. However, I should thank you for this suggestion - it's definitely a valuable feedback to our Product team. I hope you do not mind if I transfer your post to the neighboring Product Feedback section, where other users will be able to vote for the feature.

Pavel M Community Team at Wrike Wrike Product Manager Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

Pavel M Wrike Team member Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

2
Aktionen für Kommentare Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Thanks for your response!

Managing users is a critical piece of functionality you expose to other apps (like Identity Providers, for instance) which provision users automatically, on behalf of the administrators. Hope this gets implemented!

0
Aktionen für Kommentare Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Thank you! A quick follow up from me - maybe the ability to create invitations via API could be helpful in terms of adding / creating new users. It's the same thing as we have for invites from Workspace - email with invitation is generated, therefore requires confirmation from User, however this is the measure for account security.

Pavel M Community Team at Wrike Wrike Product Manager Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

Pavel M Wrike Team member Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

0
Aktionen für Kommentare Permalink
Spot On Innovative Approach Stellar Advice
Avatar

thanks! Now I've a few questions.

1. Create invitations API requires an accountId as part of the URI. What does it refer to and how to get it? 

2. The request payload seems to accept key-value parameters (application/x-www-url-encoded) while the response payload is application/json. Is there a way to make it accept Json as part of Request Payload?

3. Once a invitation is sent to an email, the status becomes pending. Can we assume the user is not actually created unless and until the status changes from pending to Active or something else which means that the user has accepted the invite?

4. There's no endpoint to get all the users. Calling the URI "/api/v3/users" results in an HTTP 400 status with the error message "{"errorDescription":"Method '[GET] /users' is not supported","error":"method_not_found"}". If this is the case, how do we get the IDs of each user?

0
Aktionen für Kommentare Permalink
Spot On Innovative Approach Stellar Advice
Avatar

@Pavel M,

any responses to the questions above? I've already got responses for the questions 2 and 4 via another channel.

Much appreciated!

0
Aktionen für Kommentare Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi! Sorry for the delay, glad you are good with questions 2 and 4 now!

1. You may use this method to query accounts and get their APIv3 IDs (applicable to all other methods).

3. Yes, you are correct - pending invitation is the one, which is not yet accepted (user has not followed by the invitation link). 

This parameter provided in response would mean that user accepted invite and joined your account:

"status": "Accepted"

If you have any further questions on how Wrike's API works, I would kindly ask you to address them in a ticket to Support here - we will be more than happy to guide you through :) 

Pavel M Community Team at Wrike Wrike Product Manager Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

Pavel M Wrike Team member Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

1
Aktionen für Kommentare Permalink

Folllowing List for Post: REST API to Create/Delete Users
[this list is visible for admins and agents only]

Nach oben
Didn’t find what you were looking for? Write new post