Create a package
Creates a package and its index script as a Postman Package Library resource.
Authentication
x-api-keystring
API Key authentication via header
Query parameters
workspace
The workspace's ID.
Request
This endpoint expects an object.
name
The package's import name. The service stores this value in lowercase.
description
The package's description. This value may be empty and only supports printable ASCII characters.
script
The package's initial index script content. This value may be empty.
Response
Package Created
id
The package's ID.
name
The package's immutable, lowercase import name.
description
The package's description. This value may be empty and only supports printable ASCII characters.
script
The package's current index script content. This value may be empty.
createdBy
The user ID of the user who created the package.
createdAt
The date and time at which the package was created.
updatedAt
The date and time at which the package or its script was last updated.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error