Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Delete a request

DELETE {{baseUrl}}/collections/{{collectionId}}/requests/{{requestId}}

Deletes a request in a collection.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string You must include this header to use this endpoint.




RESPONSES

status OK

{ "model_id": "c82dd02c-4870-4907-8fcb-593a876cf05b", "meta": { "model": "request", "action": "destroy" }, "data": { "id": "c82dd02c-4870-4907-8fcb-593a876cf05b", "owner": "12345678" }, "revision": 24995158577 }



Curl
curl -X DELETE 'https://api.getpostman.com/collections/collectionId/requests/requestId' -H 'Accept: application/vnd.postman.v2+json'

ENDPOINTS