Logo
30 days challenge API Documentation

Delete Server Stub

DELETE https://api.getpostman.com/mocks/{{mock_uid}}/server-responses/{{server_response_id}}

This endpoint allows you to delete an existing server response using its id.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "id": "7a2cd600-cf51-4e8a-b802-5e458828f4e5", "name": "Service Unavailable", "statusCode": 503, "headers": [ { "key": "Content-type", "value": "application/json" } ], "language": "json", "body": "{\n \"message\": \"Service is temporarily unavailable due to maintenance. Please reach out to support if the problem persists.\"\n}", "createdBy": "1", "updatedBy": "1", "createdAt": "2022-05-02T09:38:04.000Z" }



Curl
curl -X DELETE 'https://api.getpostman.com/mocks/undefined/server-responses/undefined'

ENDPOINTS