DeleteContextModel
Deletes a semantic model.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:DeleteContextModel |
delete |
*ContextModel
|
None | None |
Request syntax
DELETE /context-models/{name} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
No |
The identifier of the context model to delete. This value is obtained from the request path /context-models/{name}. Only letters, digits, underscores (_), and hyphens (-) are supported. If the model does not exist, a 404 error is returned. |
orders |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| status |
string |
The status of the call result. If the deletion succeeds, success is returned. After the model is deleted, the model name can be reused for creation. |
success |
Examples
Success response
JSON format
{
"status": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.