# List user types

Returns all available user types (professional roles) for the site.
User types categorize the professional role (e.g. "Négociateur", "Gestionnaire",
"Directeur"). A user can have multiple types.
Use type IDs when creating or updating users.

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

## Security:

  - `bearerAuth` (unknown)
    http bearer opaque

## Response 200:

  - `200` (unknown)
    List of types

## Response 200 fields (application/json):

  - `data` (array)

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

  - `data.name` (string)
    Type name (masculine).
    Example: Négociateur

  - `data.name_female` (string | null)
    Type name (feminine form).
    Example: Négociatrice

## 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)

