Objective

This method deletes a Workspace from the DM library. The Workspace must be related with the user whose credentials are provided. DST must be provided.

Notes: DeleteWorkspaceDST can’t delete a Workspace for another user in the DM library.

Parameters

ParameterDescriptionType
libraryeDOCS libraryString
userUser nameString
passwordUser passwordString
workspaceNameName of the Workspace to be deleted.String
dbSchemaDatabase schema. By default is set to “DOCSADM” if an empty string is passed.String
clientOptional parameter for the client codeString
projectOptional parameter for the project codeString

Rest Invoke

  • http://localhost:port/GSService/xml/ or http://localhost:port/GSService/json/
  • UriTemplate:
    • “/DeleteWorkspace/?library={library}&user={user}&password={password}&workspaceName={workspaceName}&dbSchema={dbSchema}&client={client}&project={project}”
    • “/DeleteWorkspaceDST/?library={library}&user={user}&dst={dst}&workspaceName={workspaceName}&dbSchema={dbSchema}&client={client}&project={project}”

Example

http://localhost:8732/GSService/xml/DeleteWorkspace/?library=DMTESTLEGAL&user=admin&password=owc123&workspaceName=prueba&dbSchema=DOCSADM

The method returns 0 if the Workspace has been deleted or an error.

DST Example

http://localhost:8732/GSService/xml/DeleteWorkspaceDST/?library=DMTESTLEGAL&user=admin&dst=afd448a5d0f9b...55355b8c677ad16&workspaceName=prueba&dbSchema=DOCSADM

Error

Check the edocs.log file if errors arise in the deletion process.