DeletePolicy
Delete a retention policy from the system.
/api/v1/metrics/retention-policies/{id}Operation ID
DeletePolicySince
1.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
Path Parameters
idStringRequiredUnique identifier of the retention policy to delete
Query Parameters
options.propagationPolicyStringPropagationPolicy overrides the resource's default policy when non-empty. Accepted values: Restrict, Foreground, Background, Orphan, SoftDelete.
options.forceBooleanForce skips the Finalizer phase and advances directly to PhysicalDelete. Requires operator-level permission; returns PermissionDenied until the audit-integration rollout lands.
Example: true
options.gracePeriodSecondsIntegerGracePeriodSeconds defines the post-request delay before the engine begins the Checking phase. Default 0 (immediate).
Example: 0
options.revokeRemoteCredentialsBooleanRevokeRemoteCredentials is a resource-scoped hint for resources that carry out-of-band credentials (e.g. Platform access keys). When true, the corresponding revoke finalizer is activated for this request. Ignored by resources that do not register such a finalizer.
Example: true
Responses
200 OKDELETE endpoints return an empty object on success, or a standard error structure on failure.
Success Response
{}Error Response
{
"error": {
"code": "SYS.1001",
"description": "A message or a operation timeout",
"details": "Delete resource timeout after 300s"
}
}Change History
This API has no change history records yet.
