Add a workspace

View as Markdown
Publishes a workspace in your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/).

Authentication

x-api-keystring
API Key authentication via header

Request

This endpoint expects an object.
workspaceobjectRequired

Response

Created
addedAtdatetimeOptional
The date and time at which the element was added.
addedByintegerOptional
The user who added the element.
createdByintegerOptional
The user who created the element.
createdAtdatetimeOptional
The date and time at which the element was created.
updatedByintegerOptional
The user who last updated the element.
updatedAtdatetimeOptional
The date and time at which the element was last updated.
typeenumOptional

The workspace element.

idstringOptional
The element's ID
namestringOptional
The element's name.
summarystring or nullOptional
The element's summary.
descriptionstring or nullOptional
The element's description.
hrefstringOptionalformat: "url"
The element's Postman URL.
parentFolderIdinteger or nullOptionalDeprecated
This property is deprecated.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error