DeleteContexts
Deletes multiple contexts.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DeleteContexts |
delete |
*ContextStore
|
None | None |
Request syntax
DELETE /workspace/{workspace}/contextstore/{contextStoreName}/context HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The workspace ID. |
workspace-test |
| contextStoreName |
string |
Yes |
The name of the ContextStore. This parameter can only be specified as a path parameter. |
test-context-store |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| contextIds |
string |
No |
A comma-separated list of context IDs. This parameter can only be specified as a query parameter. |
mem_long_01,mem_long_02 |
| filter |
string |
No |
The filter conditions. The syntax is the same as that of SearchContext.filter. This parameter is passed as a JSON string in the query. |
{"userId":"u-10001"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
8FDE2569-626B-5176-9844-28877A***** |
| deletedCount |
integer |
The number of successfully deleted contexts. |
55 |
Examples
Success response
JSON format
{
"requestId": "8FDE2569-626B-5176-9844-28877A*****",
"deletedCount": 55
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.