POST keys/{newKeyId}?key={key}&canDeleteBuckets={canDeleteBuckets}&requestTime={requestTime}&signature={signature}
Requests a new key
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
newKeyId |
The desired key name. |
string |
Required |
key |
The key that was used to sign this request. |
string |
Required |
canDeleteBuckets |
Should the new key be allowed to delete their buckets? |
boolean |
Required |
requestTime |
The time the request was made. |
integer |
Required |
signature |
The signature that proves that you are who you say you are. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A response indicating if the call was successful or not. If the call succeeded it will also contain new credentials for use with this api.
RequestNewKeyResponseName | Description | Type | Additional information |
---|---|---|---|
Credentials | XssCredentials |
None. |
|
Success | boolean |
None. |
|
Error | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<RequestNewKeyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Error>sample string 2</Error> <Success>true</Success> <Credentials> <Base64Key>sample string 2</Base64Key> <KeyId>sample string 1</KeyId> </Credentials> </RequestNewKeyResponse>
application/json, text/json
Sample:
{ "Credentials": { "KeyId": "sample string 1", "Base64Key": "sample string 2" }, "Success": true, "Error": "sample string 2" }