Sun Java System Portal Server 7.2 Command-Line Reference

delete-theme

The delete-theme subcommand deletes an existing theme for the given portal.

Long-Named Format

psadmin delete-theme --adminuser uid [--passwordfile passwordfile] --portal portalName --id theme_id

Short-Named Format

psadmin delete-theme -u uid [-f passwordfile] -p portalName --id theme_id

Options

These are the list of options available for the delete-theme subcommand. The following three options are required:

[--adminuser | -u] uid

Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.

[--portal | -p] portalName

Specifies the portal name.

--id theme_id

Specifies the id of theme that needs to be removed.

The following option is optional:

[--passwordfile | -f] passwordFile

Specifies the administrator password in the password file. When the --passwordfile option is provided, the password file should contain the password without any other text. If this option is not specified, the password will be prompted.

Example

./psadmin delete-theme -u amadmin [-f passwordFile] -p portal1 --id x