Cloud Management API 1.5

AccountGroups

An Account Group specifies which RightScale accounts will have access to import a shared RightScale component (e.g. ServerTemplate, RightScript, etc.) from the MultiCloud Marketplace.

Actions

index

Lists the AccountGroups owned by this Account.

URLs
GET /api/account_groups
HTTP response code
200 OK
Content-type
application/vnd.rightscale.account_group;type=collection

Required roles

Parameters

name required type values regexp blank? description
filter no Array * * no See below for valid filter parameters.
view no String default * no Specifies how many attributes and/or expanded nested relationships to include.

Example Responses

Click on a format below to see an example response:

JSON XML
[{
  "name": "NAME_1484201079",
  "description": "DESCRIPTION_1887273510",
  "created_at": 1539705881,
  "updated_at": 1539705881,
  "links": [
    {"rel":"self","href":"/api/account_groups/1"},
    {"rel":"account","href":"/api/accounts/880631532"}
  ],
  "actions": [

  ]
},{
  "name": "NAME_664554101",
  "description": "DESCRIPTION_141568580",
  "created_at": 1539705883,
  "updated_at": 1539705883,
  "links": [
    {"rel":"self","href":"/api/account_groups/1"},
    {"rel":"account","href":"/api/accounts/880631532"}
  ],
  "actions": [

  ]
}]
<?xml version="1.0" encoding="UTF-8"?>
<account_groups>
  <account_group>
    <name>NAME_1484201079</name>
    <description>DESCRIPTION_1887273510</description>
    <created_at>1539705881</created_at>
    <updated_at>1539705881</updated_at>
    <links>
      <link rel="self" href="/api/account_groups/1"/>
      <link rel="account" href="/api/accounts/880631532"/>
    </links>
    <actions/>
  </account_group>
  <account_group>
    <name>NAME_664554101</name>
    <description>DESCRIPTION_141568580</description>
    <created_at>1539705883</created_at>
    <updated_at>1539705883</updated_at>
    <links>
      <link rel="self" href="/api/account_groups/1"/>
      <link rel="account" href="/api/accounts/880631532"/>
    </links>
    <actions/>
  </account_group>
</account_groups>

show

Show information about a single AccountGroup.

URLs
GET /api/account_groups/:id
HTTP response code
200 OK
Content-type
application/vnd.rightscale.account_group

Required roles

Parameters

name required type values regexp blank? description
view no String default * no Specifies how many attributes and/or expanded nested relationships to include.

Example Responses

Click on a format below to see an example response:

JSON XML
{
  "name": "NAME_1484201079",
  "description": "DESCRIPTION_1887273510",
  "created_at": 1539705881,
  "updated_at": 1539705881,
  "links": [
    {"rel":"self","href":"/api/account_groups/1"},
    {"rel":"account","href":"/api/accounts/880631532"}
  ],
  "actions": [

  ]
}
<?xml version="1.0" encoding="UTF-8"?>
<account_group>
  <name>NAME_1484201079</name>
  <description>DESCRIPTION_1887273510</description>
  <created_at>1539705881</created_at>
  <updated_at>1539705881</updated_at>
  <links>
    <link rel="self" href="/api/account_groups/1"/>
    <link rel="account" href="/api/accounts/880631532"/>
  </links>
  <actions/>
</account_group>