Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 644 Bytes

File metadata and controls

25 lines (20 loc) · 644 Bytes

Payload

{
// Optional
    username: string;
    email: string;
    gender_id: Id;
    pronoun: string;
    meeting_id: ID;
    vote_delegated_to_id: Id;
    vote_delegations_from_ids: Id[];
}

Action

Updates the request user. Removes starting and trailing spaces from username.

The given gender must be present in organization/genders.

meeting_id is only for editing meeting-internal data, and the value will be thrown away afterwards.

Permissions

The user must not be the anonymous.

The request user fulfills the conditions for editing his own delegations, if he has the permission user.can_edit_own_delegation.