PUT https://api.getpostman.com/network/private/{{elementType}}/{{elementId}}
Updates an element or folder in your [Private API Network] When you call this endpoint, the The Include the following in the request body object: In the For Collections: For Private API Network Folders: You can include the following optional properties:elementType
property must be the api
, folder
, collection
, or workspace
value.elementId
value is the api
, folder
, or workspace
element's ID. For collection
, this value is the collection's UID (userId
-collectionId
).
elementType
— The Private API Network element type. Must be one of the following values:
api
folder
collection
workspace
elementType
object, include the following values:
parentFolderId
— The element's new Private API Network folder ID.
summary
— A string value that contains the collection's new summary.
description
— A string value that contains the folder's new description.name
— A string value that contains the folder's new name.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"id": 1,
"parentFolderId": 0,
"updatedAt": "2022-12-07T20:27:06.000Z",
"updatedBy": 12345678,
"createdBy": 12345678,
"createdAt": "2022-12-07T17:04:23.000Z",
"name": "Billing",
"description": "The Billing API.",
"type": "folder"
} |
ENDPOINTS