cURL
curl --request PATCH \ --url https://lancepilot.com/api/v3/workspaces/{workspace} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "type": "INTERNAL", "status": true } '
{ "status": 200, "message": "Resource updated successfully.", "data": {} }
Update the specified workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace to update.
Workspace update parameters.
New workspace name.
Must be a valid workspace type.
INTERNAL
PARTNER
New status (true for active, false for inactive).
200
"Resource updated successfully."
Updated resource data.