PATCH a user via REST API? #1156
Unanswered
levelonestl
asked this question in
Q&A
Replies: 2 comments 6 replies
-
Hello, PATCH is not currently supported. You could add a scheduled rule that checks for the existence of the directories and, if it fails, create them. For example an action like this and a new scheduled rule with the following actions Would this solve your issue? EDIT: you can simply schedule your create directories action. The create directory action is a NOOP if the directory already exist |
Beta Was this translation helpful? Give feedback.
6 replies
-
it will be included in v2.5.0, any testing using the development version would be greatly appreciated, thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an event rule/action setup so that when a user is added/updated it will automatically create several directories automatically. The issue I have is that when the list of directories that needs to be created is updated there is no way to automatically apply these new directories to existing users. My thought was to maybe update some benign field on the user record via the REST API but it appears (unless I'm reading it incorrectly) that I would need to PUT the entire user record. I was wondering if there was something else I could "touch" on a user that would fire that user update event or if there is some kind of PATCH functionality where I would just need to update a single field?
Beta Was this translation helpful? Give feedback.
All reactions