Add or remove entities from a selection.
Note
This request can contain multiple commands and is used both to add and to remove entities from a selection using the PATCH object.
Security
OAuth2.0
- https://your-serverhttps://your-server/api/selection
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://your-server/api/selection?loadPermissions=false' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"selectionPool": "string",
"definitionName": "string",
"subPoolId": 0,
"patches": [
{
"operation": "Add",
"value": [
0
]
}
]
}'Response
{ "items": [ 0 ], "permissions": [ "string" ], "link": { "href": "string", "type": "string" } }