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
- publisher
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_1189085318",
"description": "DESCRIPTION_1361541000",
"created_at": 1696849561,
"updated_at": 1696849561,
"links": [
{"rel":"self","href":"/api/account_groups/1"},
{"rel":"account","href":"/api/accounts/560182816"}
],
"actions": [
]
},{
"name": "NAME_2273014187",
"description": "DESCRIPTION_2696673320",
"created_at": 1696849562,
"updated_at": 1696849562,
"links": [
{"rel":"self","href":"/api/account_groups/1"},
{"rel":"account","href":"/api/accounts/560182816"}
],
"actions": [
]
}]
<?xml version="1.0" encoding="UTF-8"?>
<account_groups>
<account_group>
<name>NAME_1189085318</name>
<description>DESCRIPTION_1361541000</description>
<created_at>1696849561</created_at>
<updated_at>1696849561</updated_at>
<links>
<link rel="self" href="/api/account_groups/1"/>
<link rel="account" href="/api/accounts/560182816"/>
</links>
<actions/>
</account_group>
<account_group>
<name>NAME_2273014187</name>
<description>DESCRIPTION_2696673320</description>
<created_at>1696849562</created_at>
<updated_at>1696849562</updated_at>
<links>
<link rel="self" href="/api/account_groups/1"/>
<link rel="account" href="/api/accounts/560182816"/>
</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
- publisher
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_1189085318",
"description": "DESCRIPTION_1361541000",
"created_at": 1696849561,
"updated_at": 1696849561,
"links": [
{"rel":"self","href":"/api/account_groups/1"},
{"rel":"account","href":"/api/accounts/560182816"}
],
"actions": [
]
}
<?xml version="1.0" encoding="UTF-8"?>
<account_group>
<name>NAME_1189085318</name>
<description>DESCRIPTION_1361541000</description>
<created_at>1696849561</created_at>
<updated_at>1696849561</updated_at>
<links>
<link rel="self" href="/api/account_groups/1"/>
<link rel="account" href="/api/accounts/560182816"/>
</links>
<actions/>
</account_group>