ModifyImageAttribute
GET /?Action=ModifyImageAttribute
Description
Modifies the specified attribute of an Outscale machine image (OMI).
You can specify only one attribute at a time. You can modify the permissions to access the OMI by adding or removing account IDs or groups. You can share an OMI with a user that is in the same Region. The user can create a copy of the OMI you shared, obtaining all the rights for the copy of the OMI. For more information, see CopyImage.
Body parameter
Required: false
Name: ModifyImageAttributeRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
Description |
A description of the OMI. |
false |
|||
ImageId |
The ID of the OMI. |
true |
string |
||
LaunchPermission |
Permissions to access the OMI. |
false |
|||
ProductCode.N |
One or more product codes to add to the OMI. Once a product code is applied to an OMI, it cannot be removed. |
false |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
ModifyImageAttributeResult |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
return |
If |
false |
boolean |