Rotates the current S3 encryption keys on your system.
Endpoint
POST /s3_encryption/rekey
Request structure
{
"code": "string",
"message": "string"
}
| Parameter | Type | Description |
|---|---|---|
| code | String | A general reason for the rekey. Values include:
|
| message | String | A message providing further explanation and the action required (if any) to remedy the error. |
Response structure
Not applicable.
Return codes
|
Status code |
HTTP name |
Description |
|---|---|---|
| 200 | OK | The request was executed successfully. |
| 400 | Bad Request | Encryption is not enabled, or the request is missing a required value. |
| 401 | Unauthorized | Access was denied because credentials are not valid. |
| 405 | Method Not Allowed | The specified HTTP method is not allowed for user data. Resend using POST. |