Repository Workspace Manipulation
Reset changes in workspace
POST
/
repos
/
{repo_id}
/
workspaces
/
{workspace_id}
/
reset
Authorizations
Authorization
string
headerrequiredThis API uses OAuth 2 with the implicit grant flow
Path Parameters
repo_id
string
requiredThe repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
workspace_id
string
requiredThe repo ID of the workspace.
Body
application/json
all
boolean
paths
string[] | null
Inclusion list of paths to include in the operation. If null, all paths will be included.
Response
200 - application/json
Response of a reset command.
success
string[]
requiredPaths that were successfully reset.
fail
string[]
requiredPaths that were not found.