Logo
30-day challenge API Documentation

Respond to an element add request

PUT https://api.getpostman.com/network/private/network-entity/request/:id

Responds to a user's request to add an element to the [Private API Network] Include the following in the request body:

  • message — A string value in a response object that contains a message that details why the user's request was denied.
  • status — A string value that contains the request's status. One of: denied or approved

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
x-api-key
string
Content-Type
string




RESPONSES

status OK

{ "request": [ { "id": 1, "createdAt": "2022-06-09T14:48:45.000Z", "createdBy": 12345678, "message": "Please add this to the network", "status": "approved", "element": { "createdAt": "2022-06-09T14:48:45.000Z", "createdBy": 2272, "type": "api", "id": "5360b75f-447e-467c-9299-12fd3c92450d", "name": "Test api", "summary": "This is a test API" } } ] }



Curl
curl -X PUT 'https://api.getpostman.com/network/private/network-entity/request/:id' -H 'x-api-key: undefined' -H 'Content-Type: application/json'

ENDPOINTS