Retention class resources
Retention class resources let you create, retrieve information about, modify, and delete retention classes. The tables below provides information about these resources.
.../tenants/tenant-name/namespaces/namespace-name/retentionClasses
Data type | Method | Use | Access | Notes |
retentionClass | PUT | Create a retention class for a namespace |
| |
List | GET | Retrieve a list of the retention classes defined for a namespace |
|
The listed retention classes are identified by retention class name. In XML, the element that identifies each retention class is In JSON, the name in the name/value pair that lists the retention classes is |
.../tenants/tenant-name/namespaces/namespace-name/retentionClasses/retention-class-name
Data type | Method | Use | Access | Notes |
retentionClass | GET | Retrieve information about a retention class |
| |
N/A | HEAD | Check for the existence of a retention class |
| |
retentionClass | POST | Modify a retention class |
| |
N/A | DELETE | Delete a retention class |
| You can delete a retention class only if the namespace is in enterprise mode. |