| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Resets permission settings for the specified snapshot.
SnapshotIdThe ID of the snapshot.
Type: String
Default: None
Required: Yes
AttributeThe attribute to reset (currently only the attribute for permission to create volumes can be reset)
Type: String
Default: None
Valid value: createVolumePermission
Required: Yes
The following elements are returned in a
ResetSnapshotAttributeResponse element.
requestIdThe ID of the request.
Type: xsd:string
returnReturns true if the request succeeds. Otherwise, returns an error.
Type: xsd:boolean
This example resets the permissions for snap-1a2b3c4d, making it a private
snapshot that can only be used by the account that created it.
https://ec2.amazonaws.com/?Action=ResetSnapshotAttribute &SnapshotId=snap-1a2b3c4d &Attribute=createVolumePermission &AUTHPARAMS
<ResetSnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </ResetSnapshotAttributeResponse>