Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Guides > RightScale API 1.5 > Examples > Permissions > Delete Permission

Delete Permission

Table of Contents

Delete a permission record (i.e. user role) for the account a user is logged in to.

Table of Contents

Curl

Example Call

Note:

  • You must remove the 'observer' permission last or you will receive an error. The observer role allows a user to login and view the RightScale Dashboard.
  • Permissions can only be deleted one at a time since you are removing the permission ID associated to the user role.
curl -i -H X_API_VERSION:1.5 -b mycookie -X DELETE https://my.rightscale.com/api/permissions/590220.xml

Sample Output

Note

HTTP/1.1 204 No Content
Server: nginx/1.0.15
Date: Wed, 24 Aug 2011 21:53:30 GMT
Connection: keep-alive
Status: 204 No Content
X-Runtime: 427
X-Request-Uuid: 26c1ff4fbeb943f78c72a7df91c91253
Set-Cookie: _session_id=f6e055cbb4c26287221ab0a881c3ac26; path=/; Secure; HttpOnly
Cache-Control: no-cache
 

You must to post a comment.
Last modified
23:18, 16 May 2013

Tags

Classifications

This page has no classifications.

Announcements

None


© 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.