Deleting a Configuration

A configuration resource that is not needed anymore should be deleted from the persistence layer as well. The configurations’ deletion is controlled by the caller using the DELETE api/v1/configurations/{configId}. This deletes the configuration from the database.

It is required to provide the if-match header of the resource. This can be read from the ETag that is granted in the GET request. If if-match is not provided or is not matching, then the service return 412 Precondition Failed.

DELETE /api/v1/configurations/4BDDF9F6EA994C4995DBA4D4152B4F3A 
If-Match: "W/"2023-05-03 07:06:13.509"
Authorization: Bearer eyJh...
Accept: */*
Cache-Control: no-cache
Host: ssc-engine.c-9d83...
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Cookie: JSESSIONID=B497C887B995DC7916193E1538770D78; lbhash="9d5b079e4b097230"

The request returns either with 204 if the resource could be deleted, or 404 if the resource was not found.