Skip to main content
PATCH
/
settings
/
staff
Update Staff Member
curl --request PATCH \
  --url https://api.getoutbox.ai/settings/staff \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "staff_id": "<string>",
  "role": 2
}
'

Authorizations

Authorization
string
header
required

Company API Key

Body

application/json

Staff update details

staff_id
string
required

ID of the staff member to update

role
integer
required

New permission level (1=read, 2=write, 3=create, 4=admin)

Required range: 1 <= x <= 4

Response

Staff member updated successfully