Respond to an element add request

PUT {{baseUrl}}/network/private/network-entity/request/{{requestId}}

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
    • approved

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"}}]}