Update a workspace

Update a workspace

Updates workspace name, description, color, or playground flag.

PATCH/api/workspaces/{id}
Path parameters
idnumberrequired

Path parameter: id

Body
namestring
descriptionstring
colorobject
metadataobject

Request

curl
curl -X PATCH https://trickest.io/api/workspaces/{id} \
  -H "Authorization: Bearer $TRICKEST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ }'

Responses

200Updated workspace
idstringrequired
namestringrequired
descriptionstring
vault_infoobject
colorstring
playgroundboolean
authorstring
author_infoobject
projects_countnumber
workflows_countnumber
created_datestringrequired
modified_datestringrequired
400Bad Request – validation error or malformed input
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

401Unauthorized – missing or expired token
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

403Forbidden – insufficient permissions
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

429Too Many Requests – rate limited
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

500Internal Server Error
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.