Command Reference > pmrep Command Reference > DeleteObject

# DeleteObject

Deletes an object. Use DeleteObject to delete a source, target, user-defined function, mapplet, mapping, session, worklet or workflow.
The DeleteObject command uses the following syntax:
DeleteObject

-o <object_type>

-f <folder_name>

-n <object_name>

[-s dbd_separator]
The following table describes pmrep DeleteObject options and arguments:
Option
Argument
Description
-o
object_type
Required Type of the object you are deleting: source, target, mapplet, mapping, session, “user defined function”, worklet, workflow.
-f
folder_name
Required Name of the folder that contains the object.
-n
object_name
Required. Name of the object you are deleting. If you delete a source definition you must prepend the database name. For example, DBD.sourcename.
-s
dbd_separator
Optional. If an ODBC source has a period (.) in the name, define a different separator character when you define the source object. For example, instead of database_name.source_name, define the source object as database_name\source_name, and define the dbd_separator as backslash (\).
This command is not supported because the versioning is on for the repository <Repository name>.
Failed to execute DeleteObject