Generates random bytes of a specified length.
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Length | int32 | Yes | 32 | The length of the random number to generate. Valid values: 1 to 64. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| Random | bytes | Binary data | The generated random bytes. |
| RequestId | string | 475f1620-b9d3-4d35-b5c6-3fbdd941423d | The request ID. |
Error codes
For more information about error codes, see Common error codes.