Function update_organization

Source
async fn update_organization(
    organization_id: Path<Uuid>,
    payload: Json<OrganizationUpdatePayload>,
    pool: Data<PgPool>,
    user: AuthUser,
) -> ControllerResult<Json<()>>
Expand description

PUT /api/v0/main-frontend/organizations/{organization_id}

Updates an organization’s name, hidden status, and slug.