Update a workspace

Update the workspace with a given ID.

URL: /workspaces/{id}

Method: PUT

Success Responses

Code : 200 OK

Example:: GET /workspaces/1

Payload: a workspace with the following properties:

{
	"source": "string"
}

Example:: PUT /workspaces/1 with the following body:

{
	"source": "4 + 5"
}

Response:

{
	"id": 1,
	"source": "4 + 5"
}

Last updated