List all the permissions for all the users of the account the user is logged in to. That is, list all permissions for all users of the current account.
Table of Contents
Prerequisite: Example assumes you have previously authenticated, and your valid session cookie is in 'mycookie'.
curl -i -H X_API_VERSION:1.5 -b mycookie -X GET https://my.rightscale.com/api/permissions.xml
Note:
<?xml version="1.0" encoding="UTF-8"?> <permissions> <permission> <links> <link href="/api/permissions/590220" rel="self"/> <link href="/api/accounts/7960" rel="account"/> <link href="/api/users/49052" rel="user"/> </links> <created_at>2012/10/04 19:25:29 +0000</created_at> <role_title>actor</role_title> <actions></actions> </permission> <permission> <links> <link href="/api/permissions/590221" rel="self"/> <link href="/api/accounts/7960" rel="account"/> <link href="/api/users/49052" rel="user"/> </links> <created_at>2012/10/04 19:25:32 +0000</created_at> <role_title>observer</role_title> <actions></actions> </permission> </permissions>
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.