---
title: "PUT /lifecycle/rules/{id}/"
method: PUT
path: "/lifecycle/rules/{id}/"
tags: ["lifecycle"]
---

# PUT /lifecycle/rules/{id}/

`PUT /lifecycle/rules/{id}/`

## Path parameters

- `id` string, uuid, required

## Request body

- LifecycleRuleRequest — Mixin to validate that a valid enterprise license exists before allowing to save the object
  - `name` string, required
  - `content_type` 'authentik_core.application' | 'authentik_core.group' | 'authentik_rbac.role', required
  - `object_id` string, nullable
  - `interval` string
  - `grace_period` string
  - `reviewer_groups` string[]
  - `min_reviewers` integer
  - `min_reviewers_is_per_group` boolean
  - `reviewers` string[], required
  - `notification_transports` string[] — Select which transports should be used to notify the reviewers. If none are selected, the notification will only be shown in the authentik UI.

## Response `200`

- LifecycleRule — Mixin to validate that a valid enterprise license exists before allowing to save the object
  - `id` string, uuid, required
  - `name` string, required
  - `content_type` 'authentik_core.application' | 'authentik_core.group' | 'authentik_rbac.role', required
  - `object_id` string, nullable
  - `interval` string
  - `grace_period` string
  - `reviewer_groups` string[]
  - `reviewer_groups_obj` PartialGroup[], required
    - `pk` string, uuid, required
    - `num_pk` integer, required — Get a numerical, int32 ID for the group
    - `name` string, required
    - `is_superuser` boolean — Users added to this group will be superusers.
    - `attributes` object
  - `min_reviewers` integer
  - `min_reviewers_is_per_group` boolean
  - `reviewers` string[], required
  - `reviewers_obj` PartialUser[], required
    - `pk` integer, required
    - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
    - `name` string, required — User's display name.
    - `is_active` boolean — Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
    - `last_login` string, date-time, nullable
    - `email` string, email
    - `attributes` object
    - `uid` string, required
  - `notification_transports` string[] — Select which transports should be used to notify the reviewers. If none are selected, the notification will only be shown in the authentik UI.
  - `target_verbose` string, required

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
