View Source

{anchor:acfgb}
h1. commadmin resource delete

The {{commadmin resource delete}} command marks the resource as deleted.

{info:title=Note - }To permanently remove the resource, run the [commadmin domain purge] command.{info}

{anchor:acfga}
h2. Syntax

{noformat}
commadmin resource delete -D <login> -u <identifier> -n <domain> -w <password> [-d <domainname>]
[-h] [-?] [-i <inputfile>] [-p <AM port>] [-s] [-v] [-V] [-X <AM host>]
{noformat}

h2. Options

The following options are mandatory:
||Option ||Description ||
|{{-D}} _login_ |The user ID of the user with permission to execute this command. |
|{{-n}} _domain_ |Domain of the user specified with the {{-D}} option. |
|{{-w}} _password_ |Password of the user specified with the {{-D}} option. |
|{{-u}} _identifier_ |Resource's unique identifier. |

The following options are non-mandatory:

||Option ||Description ||
|{{-d}} _domainname_ |Domain of the resource. If {{-d}} is not specified, the domain specified by {{-n}} is used. |
|{{-h}}, {{&ndash;?}} |Prints command usage syntax. |
|{{-i}} _inputfile_ |Reads the command information from a file instead of the command line.An option value specified in the input file overrides any value for the same option set in the command line. |
|{{-p}} _AM port_ |Specifies an alternate TCP port where the Access Manager is listening. If not specified, the default _AM port_ is used, or Port 80 is used if no default was configured at install time. |
|{{-s}} |Use SSL (Secure Socket Layer) to connect to the Access Manager. |
|{{-v}} |Enable debugging output. |
|{{-V}} |Prints information about the utility and its version. |
|{{-X}} _AM host_ |Specify the host on which the Access Manager is running. If not specified, the default _AM host_ is used, or the localhost if no default was configured at install time. |
{anchor:acfgc}

h2. Example

To mark a resource as deleted:
{code}
commadmin resource delete -D chris -n sesta.com -w bolton -u bill023
{code}

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact