Penalty information file.
Try it now
Test
RAM authorization
Request syntax
POST /v2/csi/business/punish_file HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| domain_id |
string |
No |
bj2 |
|
| body |
object |
No |
The request body. |
|
| drive_id |
string |
Yes |
The ID of the drive that contains the file. |
1 |
| file_id |
string |
Yes |
The ID of the file. |
2498DZ2 |
| action_code |
string |
Yes |
The penalty action. Valid values: Valid values:
|
pds_file_meta_frozen |
| punish_reason |
string |
No |
The reason for the penalty. |
illegal |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.