Skip to main content
PATCH
/
v1
/
employees
/
{id}
Update employee
curl --request PATCH \
  --url https://api.usenaive.ai/v1/employees/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "role": "<string>",
  "title": "<string>",
  "department": "<string>",
  "enabled": true,
  "metadata": {}
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

id
string
required

Body

application/json
name
string
role
string
title
string
department
string
enabled
boolean
metadata
object

Response

Updated.

The response is of type object.