Deletes a temporary file.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidsw:DeleteTempFile |
delete |
*All Resource
|
None | None |
Request syntax
DELETE /api/v2/tempfiles/{TempFileId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TempFileId |
string |
Yes |
The ID of the temporary file. |
tempfile-05cexxxxxxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The result of the operation. |
||
| RequestId |
string |
The unique identifier for the request. |
E7D55162-4489-1619-AAF5-3F97D5FCA948 |
| Success |
boolean |
Indicates whether the operation succeeded. |
true |
| Message |
string |
A message that provides additional information about the request. |
"XXX" |
| Code |
string |
The status code returned by the service. |
"200" |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| TempFileId |
string |
The ID of the deleted temporary file. |
tempfile-05cexxxxxxxxx |
Examples
Success response
JSON format
{
"RequestId": "E7D55162-4489-1619-AAF5-3F97D5FCA948",
"Success": true,
"Message": "\"XXX\"",
"Code": "\"200\"",
"HttpStatusCode": 200,
"TempFileId": "tempfile-05cexxxxxxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.