how to disble/enable openstack user using python sdk?

asked 2017-07-26 03:33:07 -0600

fateem gravatar image

updated 2017-07-26 03:34:08 -0600

i'm writing my application using newton openstack and i want i can disable or enable any user in any time using openstack python sdk,but i didn't find anything about that in openstack python client docs.

thanks for your helps


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-07-26 04:44:12 -0600

nuriel77 gravatar image

I find that looking into the keystoneclient on github makes it easier to understand how to do what you want, check the packages and update method: python-keystoneclient

I didn't test this myself, but this would be how I'd try to update/enable/disable a user.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-07-26 03:33:07 -0600

Seen: 82 times

Last updated: Jul 26 '17