DELETE /api/kps/{storeAlias}/{objectId}
Description
Deletes an object.
Resource URL
https://localhost:8090/api/router/service/api-server-instance-id/api/kps/{storeAlias}/{objectId}
Parameters
storeAlias | mandatory | Alias of store to delete object from. |
objectId | mandatory | Primary object identifier. |
Responses
Response Code | Description |
---|---|
204 | Success. Object was deleted. No content returned |
404 | Fail. KPS has not been configured on this node. |
404 | Fail. The specified store or object does not exist. |
500 | Fail. An internal server error occurred. |
Example Request and Response
DELETE https://localhost:8090/api/router/service/instance-1/api/kps/employees/0001
Via CURL: curl -k -v --user admin:changeme -X DELETE https://localhost:8090/api/router/service/instance-1/api/kps/employees/0001
HTTP 1.1 204 No Content