organisation_id

event_id

Return

Security

Superuser, organisation’s manager if organisation_id is given

PUT /api/persons/[user_name]

Description

Updates person info for user name

Parameters

person_data

Object. All are optional unless otherwise noted. Not that object must be delivered on the "modern" format: "person_data[firstname]=John&person_data[lastname]=Doe". Only fields present will update person. Can contain the following fields:

user_name

password

firstname

lastname

jobtitle

mobile

email

birthdate

extern_person_id

address

postcode

city

phone

sex

notice

employee_code

profile_image

source

code

old_password: Required if password or user_name is present, and person is updating self. Not required if manager or superuser is updating. Must match previous password

password_match: Required if password or user_name is present, and person is updating self. Not required if manager or superuser is updating.. Must match password.