Skip to main content
PATCH
/
v1
/
staff
/
{id}
/
pin
Update staff PIN
curl --request PATCH \
  --url http://localhost:3000/v1/staff/{id}/pin \
  --header 'Content-Type: application/json' \
  --data '
{
  "pin": "<string>"
}
'
{
  "success": true,
  "staff": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "taxonomy_id": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "jsmith@example.com",
    "pin": "<string>"
  }
}

Path Parameters

id
string
required

Staff UUID or taxonomy ID

Body

application/json
pin
string
required

Response

PIN updated successfully

success
boolean
required
staff
object
required