Create a fork

View as Markdown
Creates a [fork](https://learning.postman.com/docs/collaborating-in-postman/using-version-control/forking-elements/) of an existing environment.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

environmentIdstringRequiredformat: "uid"
The environment's unique ID.

Query parameters

workspaceIdstringRequired
The workspace's ID.

Request

This endpoint expects an object.
forkNamestringRequired
The forked environment's label.

Response

Successful Response
environmentobject
Information about the forked environment.

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error