Deletes a Server Array based on its server array ID.
Table of Contents
Prerequisite: Example assumes you have previously authenticated, and your valid session cookie is in 'mycookie'.
#!/bin/sh -e SERVER_ARRAY="214835001" curl -i -H X_API_VERSION:1.5 -b mycookie -X DELETE https://my.rightscale.com/api/server_arrays/$SERVER_ARRAY
Notes: There is no XML/JSON content, just headers.
HTTP/1.1 204 No Content Server: nginx/1.0.15 Date: Fri, 12 Oct 2012 16:25:00 GMT Connection: keep-alive Status: 204 No Content X-Runtime: 1390 X-Request-Uuid: 6c1eb0c8c21b4835ad425d1bb6fb2b59 Set-Cookie: _session_id=92ede080c999a3e5734035f582d11b0e; path=/; Secure; HttpOnly Cache-Control: no-cache
© 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.