CentraSite 10.11 | CentraSite User’s Guide | Asset Management | Managing Assets through CentraSite Business UI | OData Service Management | Deleting OData Services
 
Deleting OData Services
If you are not the owner of an OData Service asset, you cannot delete the OData Service unless you have Full permission on the OData Service (granted though either a role-based permission or instance-level permission).
The following general guidelines apply when deleting an OData Service asset in CentraSite Business UI:
*Deleting an OData Service asset permanently removes the OData Service from the catalog.
*An OData Service asset can only be deleted if it is not the target of an association from another registry object.
*When you delete an OData Service asset, CentraSite removes the catalog entry for the OData Service (that is, it removes the instance of the OData Service asset from CentraSite's object database). Also note that:
*The performance metrics and event information of the OData Service are also deleted.
Note:
When you delete the OData Service asset, this information is deleted by the built-in action Delete RuntimeEvents and RuntimeMetrics of Service, which is installed with CentraSite.
*When you delete a composite OData Service asset, all of its nonshared components are also deleted.
*Deleting an OData Service asset will not remove:
*Other assets to which the OData Service asset refers (unless the reference is to an asset that is a nonshared component of the asset you are deleting). For example, if you are deleting is an OData Service asset with a Consumes or Consumed By relationship with other services in the registry, the related services will not be deleted.
*Supporting documents that are attached to the OData Service asset.
*Earlier versions of the OData Service asset. Only the latest version of an asset can be deleted; to remove earlier versions, they must be purged.
*You cannot delete an OData Service asset if:
*The OData Service is in a pending state (for example, awaiting approval).
*Any user in your CentraSite registry is currently modifying the OData Service.
*The OData Service is associated with access tokens such as API key or OAuth token.
Note:
In such cases, you can delete the OData Service, only when you revoke and then delete the access tokens associated with it. For more information on revoking the access tokens, refer to " Revoking Access Tokens as API Consumer" or " Revoking Access Tokens as API Provider" . Similarly, for deleting the access tokens, refer to " Deleting Access Tokens".
*To delete OData Service assets
1. In CentraSite Business UI, access the Advanced Search panel in one of the following ways:
*Click the Browse link in the upper-left corner of the menu bar.
*Click the Search icon next to the Scope list. The default search scope is Assets.
This displays a list of assets in the Search Results page.
2. In the Additional Search Criteria list, select Asset Types.
3. To search for the assets of type, OData Service, click Choose.
4. In the Choose Asset Types dialog box, select the Assets option button, and follow these steps:
a. Click the chevron next to Assets option button.
A list of defined asset types in CentraSite is displayed.
b. In the list of asset types, select OData Service.
c. Click OK.
A list of defined OData Service assets is displayed in the Search Results page.
5. Select one or multiple OData Service assets you want to delete.
6. On the actions bar of the Search Results page, click Delete.
You can also delete a single OData Service asset from the actions bar of its details page.
7. When you are prompted to confirm the delete operation, click Yes.
Note:
If you have selected a set of OData Services, where one or multiple OData Services are in a pending state (for example, awaiting approval), CentraSite ignores the pending list of OData Services, and deletes any remaining OData Services for which you have the required permission.