Users

User management endpoints for Crisis Cleanup.

This ViewSet provides comprehensive user management functionality including:

  • User profile retrieval and updates
  • Current user information access
  • Beta feature management
  • User state management
  • User orphaning operations

Authentication: Most operations require authentication. List and retrieve operations are publicly accessible with limited data.

Permissions: Users can typically only update their own profiles unless they have administrative permissions.

Filtering: Users can be filtered by various fields including organization, roles, and other attributes using query parameters.

put/users/{id}

Request body

idinteger
first_namestring required

User first name.

last_namestring required

User last name.

referring_userinteger nullable

User who referred this user.

organizationinteger nullable

Organization to which the user belongs.

Response

OK

idinteger
first_namestring required

User first name.

last_namestring required

User last name.

referring_userinteger nullable

User who referred this user.

organizationinteger nullable

Organization to which the user belongs.

Changes