SPLK-2001 Exam QuestionsBrowse all questions from this exam

SPLK-2001 Exam - Question 50


To delete the record with a _key value of smith from the sales collection, a DELETE request should be sent to which REST endpoint?

Show Answer
Correct Answer: C

To delete a record from a collection in a RESTful service, the correct endpoint generally includes the collection type and identifiers. The correct format for accessing data within a collection usually follows '/storage/collections/data/collection_name/key', which matches option C. Therefore, the correct endpoint to delete the record with a _key value of smith from the sales collection is '/storage/collections/data/sales/smith'.

Discussion

2 comments
Sign in to comment
guilhermecervoOption: C
Nov 20, 2022

Letter C is correct.

qtygbapjpesdayazkoOption: C
Sep 24, 2023

C /storage/collections/data/sales/smith