Edit workspace

This operation creates a new workspace, with an optional description.


Request parameters

NameTypeDescriptionValue
opStringAdd a new workspaceedit_workspace
workspace_idIntegerThe ID of the workspace
nameStringThe new name of the workspace
descriptionStringThe new description of the workspace

Request example

{
  "op": "edit_workspace",
  "workspace_id": 699761,
  "name": "WorkspaceName2",
  "description": "Updated description"
}

Response parameters

NameTypeDescriptionValue
op_statusStringThe status of the operation- success
- fail
errorStringError message.
(Returned in case of a failed operation)
- invalid request
- internal error
detailsStringError details.
(Returned in case of an invalid target error)

Response example

{
  "op_status": "success"
}