Update global variables

View as Markdown
Updates and replaces a workspace's global [variables](https://learning.postman.com/docs/sending-requests/variables/#variable-scopes). This endpoint replaces all existing global variables with the variables you pass in the request body.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

workspaceIdstringRequired
The workspace's ID.

Request

This endpoint expects an object.
valueslist of objectsOptional
A list of the workspace's global variables.

Response

Successful Response
valueslist of objects
A list of the workspace's global variables.

Errors

500
Internal Server Error