PUT https://api.getpostman.com/workspaces/{{workspace_id}}
This endpoint allows you to update a workspace and update it's association to entities like On successful updation of the workspace, the response returns the workspcae Requires API Key as Note : The endpoint expects you to send the desired state of the workspace in terms of the associated entities so be careful when trying to update these entities. For eg. if your workspace has collections A and B, and in the update call, you send C's uid in the collections array, then A and B would be removed from the workspace and C would be added.collections
, environments
, mocks
and monitors
using their uid
.name
and id
.
X-Api-Key
request header or apikey
URL query parameter.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status OK
{
"workspace": {
"id": "cfbcd9bf-cc8b-4d6f-b8ef-440a3e49e29f",
"name": "New Workspace"
}
} |
ENDPOINTS