---
title: "Update access group"
method: PUT
path: "/configuration/access-groups/{accessGroupId}"
tags: ["configuration"]
---

# Update access group

`PUT /configuration/access-groups/{accessGroupId}`

## Request

- Base URL: `https://api.smartrecruiters.com`
- URL: `https://api.smartrecruiters.com/configuration/access-groups/{accessGroupId}`
- Auth: one of:
  - API key in header `x-smarttoken`
  - OAuth 2
    - Authorization code: `https://www.smartrecruiters.com/identity/oauth/allow`
    - Token URL: `https://api.smartrecruiters.com/identity/oauth/token` scopes: `configuration_manage`

Updates access group by id

## Path parameters

- `accessGroupId` string, required

## Request body

- AccessGroup
  - `name` string, required: Name of an access group.
  - `description` string, required: Description of an access group.
  - `criteria` AccessGroupCriteria
    - `include` object[]

## Response `200`

Updated access group

- IdentifiedAccessGroup
  - `id` string: Identifier of an access group.
  - `name` string: Name of an access group.
  - `description` string: Description of an access group.
  - `criteria` AccessGroupCriteria
    - `include` object[]

## Other responses

- `403`: Forbidden to access the resource, check your authorisation and rights.
- `404`: Access group with given id does not exists
- `409`: Duplicated access group name
- `422`: Invalid access group id provided With codes: * *INVALID_ACCESS_GROUP_CRITERION* when there is no active job property with given id . * *ACCESS_GROUP_MISSING_CRITERIA* when there is one or more organisational job properties not specified for criteria. * *DISABLED_ACCESS_GROUP_CRITERION_JOB_PROPERTY* when disabled (or one without values) organisational job property is specified for criteria.

---

[API](https://skmtc.dev/smartrecruiters/apis/configuration-api.md) - [All operations](https://skmtc.dev/smartrecruiters/apis/configuration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartrecruiters/apis/configuration-api/revisions/65491281a1a6?raw)
