# List user groups

Returns all available user groups (permission levels) for the site.
Groups determine the access level and permissions of a user within the agency
(e.g. "Administrateur", "Négociateur", "Assistante").
Use group IDs when creating or updating users.

Endpoint: GET /users/groups
Version: 1.6.0
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer opaque

## Response 200:

  - `200` (unknown)
    List of groups

## Response 200 fields (application/json):

  - `data` (array)

  - `data.id` (integer)
    Group ID.
    Example: 1

  - `data.name` (string)
    Group display name.
    Example: Administrateur

  - `data.delegation` (boolean)
    Whether users in this group can delegate work.

## Response 403:

  - `403` (unknown)
    Access denied. The error `code` is always `FORBIDDEN`; the `message` gives the cause:
- `You do not have permission to perform this action.`
 — the access does not

hold the API pack / right required by the endpoint.
- `Insufficient scope for this request.`
 — the resource targeted by the request

(user, customer, product, agency, transaction, ...) is outside the scope of

the authenticated access.
- `Access denied for this editor.`
 /
`Your IP address has been blocked.`
 —

editor or IP restriction.

## Response 403 fields (application/json):

  - `error` (object)

  - `error.code` (string, required)

  - `error.message` (string, required)

## Response 403 examples:

  - `Missing API pack / right` (unknown)

  - `Resource outside the scope of the access` (unknown)

