Skip to navigation

Create / Update User

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

User to create / update

first_namestringOptional
The first name of the user
last_namestringOptional
The last name of the user
emailstringOptional
The email for the user
passwordstringOptional
The password for the user
orgstringOptional
optional,The organization slug to assign the user to. Defaults to your current organization
invite_codestringOptional
optional,The organization invitation code for the org to assign the user to. This will override the 'org' property, if supplied
birthdaystringOptionalformat: "YYYY-MM-DD"
The birthday for the user
genderstringOptionalformat: "M|F|N"
The gender for the user
phonestringOptional
optional,The phone for the user
rolestringOptionalformat: "VOLUNTEER|ORGANIZER|ADMIN"
optional,The role of the user. Defaults to Volunteer

Response

successful operation
codestringOptional
messagestringOptional
dataobjectOptional
VOMO User