There is not a webhook or similar functionality currently available in CF
to hook into changing of user roles or deletions of orgs and spaces.
I have heard interest in such functionality in the past, but improvements
in this area are not currently prioritized for the near term.
There was an effort to come up with a proposal for notifications based on
events in the past but it has not moved forward.
It's possible you could as an operator, set up a log drain for cloud
controller, and trigger something based on logs but this is imprecise and
the logs are subject to change.
CF CAPI PM
On Wed, Dec 9, 2015 at 6:51 PM, Chaskin Saroff <chaskin.saroff(a)gmail.com>
As I project requirement, I'm attempting to extend some user preferences
about an org/space. The requirement includes basic CRUD operations for
these preferences with each preferences being **user level**. This means
that each user gets their own preferences for each org that they are a part
of. For example, a user, Bob in orgA should be able to set his first orgA
preference to true and his second orgA preference to "banana".
At the moment, my architecture has these preferences stored in a couchdb
database outside of cloud foundry. This approach works up to the point
where a user is removed from an org that they have set preferences in. The
same issue arises when an org is deleted and these same preference ideas
and issues can be extended to spaces as well.
My question is, is there any way to keep my preferences database up to
date with the data living in CF(via webhooks, etc)? Alternatively, is
there some other method of storing these preferences that will mitigate
these synchronization issues?
Hopefully this makes sense, but please ask for clarity if something isn't
The very best regards,