DeleteCodeInterpreter
Updated at:
Copy as MD
Deletes a code interpreter.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
agentrun:DeleteCodeInterpreter |
delete |
*All Resource
|
None | None |
Request syntax
DELETE /2025-09-10/agents/code-interpreters/{codeInterpreterId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| codeInterpreterId |
string |
Yes |
The ID of the code interpreter. |
12345678-1234-1234-1234-123456789abc |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
| DeleteCodeInterpreterResult |
The deletion result struct. |
Examples
Success response
JSON format
{
"code": "SUCCESS",
"requestId": "F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E",
"data": {
"codeInterpreterId": "ci-1234567890abcdef",
"codeInterpreterName": "my-code-interpreter",
"description": "Python code interpreter for data analysis",
"executionRoleArn": "acs:ram::1760720386195983:role/CodeInterpreterExecutionRole",
"createdAt": "2025-01-10T10:30:00Z",
"lastUpdatedAt": "2025-01-10T11:45:00Z",
"status": "READY",
"statusReason": "Code interpreter is ready for use",
"networkConfiguration": {
"networkMode": "PRIVATE",
"vpcId": "vpc-1234567890abcdef0",
"securityGroupId": "sg-1234567890abcdef0",
"vswitchIds": [
"vsw-sg-1234567890abcdef0"
]
},
"memory": 2048,
"cpu": 2,
"tenantId": "tenant-1234567890abcdef"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?