# Update a functional area type

Updates the fields supplied and returns the type in the same shape as reading it.
Only the fields sent are touched, so an empty body is a valid request that changes
nothing.

Renaming a type does not affect which functional areas are filed under it.

Endpoint: PUT /api/v2/headcount/functionalarea/type/{id}
Version: 2.0.0
Security: default

## Path parameters:

  - `id` (integer, required)
    The ID of the functional area type.

## Header parameters:

  - `Rosterfy-Platform` (string)

## Request fields (application/json):

  - `name` (string)
    The name of the group type. Required. Sending a plain string sets the name for the account's default language; it is returned as a plain string in the language of the request.

  - `sort_order` (integer)
    Where this type sits when types are listed together. Lower values come first, and types sharing a value keep no guaranteed order between them. Defaults to `0`.

## Response 200 fields (application/json):

  - `object` (object)

  - `object.id` (integer)

  - `object.name` (string)

  - `object.sort_order` (integer)

  - `object.uuid` (string)

  - `nice` (array)

  - `relations` (array)

  - `permissions` (object)

  - `permissions.read` (boolean)

  - `permissions.update` (boolean)

  - `permissions.delete` (boolean)

