DELETE SUBSCRIPTION (Delete a profile subscription)
Use this command on a managed server to delete a profile subscription. You can also delete from the managed server all objects associated with the profile.
Privilege class
To issue this command, you must have system privilege.
Syntax
Parameters
- profile_name (Required)
- Specifies the name of the profile for which the subscription is to be deleted.
- DISCARDobjects
- Specifies whether objects associated with the profile are to be deleted
on the managed server. This parameter is optional. The default is NO.
- No
- Specifies that the objects are not to be deleted.
- Yes
- Specifies that the objects are to be deleted, unless they are associated with another profile for which a subscription is defined.
Example: Delete a profile subscription
Delete a subscription to a profile named ALPHA and its associated objects from a managed server.delete subscription alpha discardobjects=yesRelated commands
| Command | Description |
|---|---|
| DEFINE SUBSCRIPTION | Subscribes a managed server to a profile. |
| DELETE SUBSCRIBER | Deletes obsolete managed server subscriptions. |
| NOTIFY SUBSCRIBERS | Notifies servers to refresh their configuration information. |
| QUERY SUBSCRIBER | Displays information about subscribers and their subscriptions to profiles. |
| QUERY SUBSCRIPTION | Displays information about profile subscriptions. |
