provider Teammates PATCH /teammates/{teammate_id}
@utdk/front /teammates/{teammate_id}
Update teammate
Update a teammate. Required scope: `teammates:write`
teammate_id path required
The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
string

Try it

Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateTeammate
PATCH/teammates/{teammate_id}
Update a teammate. Required scope: `teammates:write`

Parameters

required

The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).

Input

New username. It must be unique and can only contains lowercase letters, numbers and underscores.

New first name

New last name

New availability status

An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.updateTeammate({
  "teammate_id": "tea_123"
})