> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# mdsUndeploy

> Undeploy the MDS component artifacts from the MDS server. This operation must execute on one of the SOA managed server endpoints in SOA domain. Target

Undeploy the MDS component artifacts from the MDS server.

This operation must execute on one of the SOA managed server endpoints in SOA domain.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>MDS UserID</td><td>`FDMDS_USERID`</td><td>Yes</td><td>Username for MDS access.</td></tr><tr><td>MDS Password</td><td>`FDMDS_PASSWORD`</td><td>Yes</td><td>Password for `MDS UserID`.</td></tr><tr><td>MDS JDBC URL</td><td>`FDMDS_JDBCURL`</td><td>Yes</td><td>Database URL for MDS access.</td></tr><tr><td>Oracle SOA Home</td><td>`FD_ORACLE_SOA_HOME`</td><td>Yes</td><td>Oracle SOA Home indicates where SOA Suite is installed.</td></tr></tbody></table>

# Project Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>MDS Name Space</td><td>`FDMDS_NAME_SPACE`</td><td>Yes</td><td>Name space within MDS where the objects will be stored.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>MDS Undeploy Path</td><td>`FDMDS_INP_UNDEPLOY_PATH`</td><td>Yes</td><td>Relative path from `MDS Name Space` to indicate the objects that need to be removed from MDS.</td></tr></tbody></table>

# Artifacts

This operation consumes a jar file that contains a variety of objects that will be removed from the MDS, such as an `xsd, xslt,` or `wsdl`.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

# Special Considerations

This operation will query MDS based on `MDS Name Space` and the relative path configured on the input to determine which objects are in the path. These queried objects will then be deleted from MDS. For example:

NameSpace: `/apps`\
UndeployPath Input: `a/b`

MDS Directory structure:

`/apps/a/b/c/obj1.xsd`\
`/apps/a/b/d/obj2.xsd`\
`/apps/e/f/obj3.xsd`

Objects deleted: `obj1.xsd and obj2.xsd`
