> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/action-center/okta/update-group.md).

# Update Group

Updates one existing Okta group, identified by its ID, with the name and description you enter. The job does not use the asset data.

### Before you begin

* **Integration:** An Okta organization and an Okta API token that is allowed to perform this action. Enter **Okta Domain** and **API Token** in the node, or save them once for all Okta jobs in [Action Center Settings](broken://pages/8a57c2aaa5eed18d0d5540189f060790ee6b7a21). Okta jobs share Okta Domain, API Token and Request Timeout.
* **Asset type:** user (`allowed_asset_types`).
* **Required columns:** none. The job does not read the asset data, but it still sits after a condition node like any other job node.
* **Defaults:** values you saved for this job in [Action Center Settings](broken://pages/8a57c2aaa5eed18d0d5540189f060790ee6b7a21) pre-fill the node, and any option you leave out is filled from them when you save.

### Settings

| Setting           | Type   | Required | Default                    | Description                                                                        |
| ----------------- | ------ | -------- | -------------------------- | ---------------------------------------------------------------------------------- |
| Okta Domain       | Text   | Yes      | None                       | Your Okta domain (e.g., dev-12345.okta.com).                                       |
| API Token         | Text   | Yes      | None                       | Your Okta API token with appropriate permissions. Not marked as a sensitive field. |
| Group ID          | Text   | Yes      | None                       | ID of the group to update.                                                         |
| Group Name        | Text   | Yes      | None                       | New name for the group.                                                            |
| Group Description | Text   | No       | OctoXLabs generated group. | New description for the group. Can be left blank.                                  |
| Request Timeout   | Number | No       | 30                         | Timeout in seconds for API requests.                                               |

No setting is marked as sensitive, so none is masked after saving.

### How it works

* **One request per run.** The job sends `PUT https://<Okta Domain>/api/v1/groups/<Group ID>` with `profile.name` and `profile.description`. It does not loop over assets.
* **Empty values are left out.** A name or description that is empty is not sent. If both are empty, no request is sent.
* **Description default.** If you do not fill in **Group Description**, the form value is `OctoXLabs generated group.`, and that text is sent as the new description.
* **Result is not checked.** The job does not read Okta's response. If Okta rejects a request (for example because of a wrong token, an unknown ID or a duplicate user), the job still ends normally and the workflow continues. Check the outcome in Okta.
* **Next node.** The job passes the assets it received on to the next node unchanged.

### Example

Values for the node:

| Setting           | Value                            |
| ----------------- | -------------------------------- |
| Okta Domain       | your-org.example.com             |
| API Token         | YOUR\_API\_TOKEN                 |
| Group ID          | YOUR\_GROUP\_ID                  |
| Group Name        | Example Contractors              |
| Group Description | Contractors managed by OctoXLabs |

### How it differs from related jobs

* [Create Group](broken://pages/f534b5523b2a2ad197f4a718baf3d9d7de791345): Creates a new group.
* [Delete Group](broken://pages/4057449834b4591fef3385d68b3790fa4cac282f): Deletes a group.

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td><a href="broken://pages/315fa8e4cbcf1b89147ad9e6fc5e9d9a2372ba0d">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save Okta defaults once for every Okta job.</td><td><a href="broken://pages/8a57c2aaa5eed18d0d5540189f060790ee6b7a21">Broken link</a></td></tr><tr><td><strong>Create Group</strong></td><td>Creates a new group.</td><td><a href="broken://pages/f534b5523b2a2ad197f4a718baf3d9d7de791345">Broken link</a></td></tr></tbody></table>

{% hint style="info" %}
Available starting from version 6.3.0.
{% endhint %}
